Varkon MBS Programmers manual
Returns information about a light source.
status:=get_light(light, on, intensity, mode); int light; int on; float intensity; int mode; int status;
light | - The lightsource number. A number from 0 to 7. |
on | - Returns 1 if the lightsource is turned on, or 0 if turned off. |
intensity | - Returns the intensity of the lightsource, 0 - 100%. |
mode | - Returns the transformation mode. 0 = Static, 1 = Follow_model. |
Returns 0 if the lightsource is defined and -1 if not defined.
See also:
Varkon 1.19D svn # 120M