setobjlight

Script Reference Objects

setobjlight (Objectname ; Red ; Green ; Blue ; fade) //Advanced

Used for : Objects.

Parameters :

- Objectname - Name of an object in a room.
- Red, green, blue - RGB colorvalues 0-255.
- fade - Optional.

Description :

Changes the hue of an object. 255, 255, 255 is the default setting while 0,0,0 renders the object completly black. If "fade" is used the object will fade into its new color. [Variables] can be used as parameters.