DLib/functions/PlaneJump/fn_pj_greenLight.sqf
2020-01-15 19:18:38 +01:00

20 lines
588 B
Plaintext

/*
Author: Djeeberjr
Description:
Turns the light green inside of the plane
Parameter(s):
0: OBJECT - the main gamelogic
*/
params ["_gl"];
_lightSource = _gl getVariable "DLib_pj_lightSource";
_redLight = _gl getVariable "DLib_pj_redLight";
_greenLight = _gl getVariable "DLib_pj_greenLight";
_lightsource setLightAmbient [0.0, 1.0, 0.0];
_lightsource setLightColor [0.0, 1.0, 0.0];
_greenLight setObjectMaterial [0,"a3\data_f\lights\building_landinglights_green.rvmat"];
_redLight setObjectMaterial [0,"a3\structures_f_heli\items\airport\data\portablehelipadlight_01.rvmat"];