In the class of the searchlight, the color of the light is set as follows.
Can this be changed while playing a game executing the value of brightness with Script?Code:class Reflectors { class main_reflector { color[] = {1, 1, 1, 1.0}; ambient[] = {0.1, 0.1, 0.1, 1.0}; position = "light"; direction = "lightEnd"; hitpoint = "light"; selection = "light"; sourceSize = 0.1; size = 0.1; brightness = 1.0; }; };
Please teach if you understand the way.
Code:_light = "#lightpoint" createVehicleLocal pos; _light setLightBrightness 0.5; _light lightAttachObject [_object, [0,0,0]]
HOME
Reply With Quote
