setLight

From RPTools Wiki
Revision as of 03:52, 1 March 2019 by Azhrei (talk | contribs)
Jump to navigation Jump to search

setLight() Function

Introduced in version 1.3b48
Sets the light sources of the Current Token. If the value is 0 then the light source is turned off; otherwise, it is turned on.

Usage

setLight(type, name, value)

Where

Example

[h: setLight("D20", "Candle - 5", 1)]