Description :
This instruction returns the state of the different parameters of a light.
Parameters :
-
ObjectID of the light.
-
LIGHT_SWITCHSTATE : to get the current switch state of the light.
LIGHT_ATTENUATESTATE : to get the current attenuation state of the light.
Return Value :
-
TRUE if the mode is ON, FALSE otherwise.
Examples :
|