Script Reference Rooms

setlight (roomname ; red ; green ; blue ; time in milliseconds) //Advanced

Used for : Rooms.

Parameters :

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

Description :

Changes the color of the roomlight. 255,255,255 equals full white light while 0,0,0 is complete darkness. If a time value is provided the color change will take the specified amount of milliseconds to change. [Variables] can be used as parameters.