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.
A local offset for the light center can be defined by setting the object property LightOffset to an array with two elements for X- and Y-offset respectively.
func Construction()
{
SetLightRange(100, 100);
this.LightOffset = [0,-100];
return true;
}
Script for a lamp post. A light coming from 100 pixel above the object center is enabled when the object is created.