setlight

Script Reference Rooms

setlight (roomname ; red ; green ; blue ; fade) //Advanced

Used for : Rooms.

Parameters :

- roomname - Name of a room in your game.
- red,green,blue - RGB values 0-255.
- fade - Optional

Description :

Changes the color of the roomlight. 255,255,255 equals full white light while 0,0,0 is complete darkness. If fade is used the color will change smoothly. [Variables] can be used as parameters.