Sets the light reach of the object. When a clonk is added to the crew via MakeCrewMember, a light is added automatically with the default range of 300 and a fadeout of 80.
Syntax
void SetLightRange(int range, int fadeout);
Parameter
range:
Light reach in pixels. In this range, the light has 100% intensity.
fadeout:
[opt]
Light fadeout reach in pixels. Default is 80. If the range is set to 0 and this parameter is not defined, the fadeout will also be 0.