/* Author: Djeeberjr Description: Turns the light red 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 [1.0, 0.0, 0.0]; _lightsource setLightColor [1.0, 0.0, 0.0]; _redLight setObjectMaterial [0,"a3\data_f\lights\building_landinglights_red.rvmat"]; _greenLight setObjectMaterial [0,"a3\structures_f_heli\items\airport\data\portablehelipadlight_01.rvmat"];