Script Reference Objects

setobjlight (Objectname ; Red ; Green ; Blue ; time in milliseconds) //Advanced

Used for : Objects.

Parameters :

- Objectname - Name of an object in a room.
- Red, green, blue - RGB colorvalues 0-255.
- time in milliseconds - Optional. Time that the color change will take.

Description :

Changes the hue of an object. 255, 255, 255 is the default setting while 0,0,0 renders the object completly black. A milliseconds value specifies the time the colorchange will take. [Variables] can be used as parameters.