setLight
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
- type is the type of light source (e.g. "Generic" or "D20").
- name is the name of the Light Source to change (e.g. "Candle - 5").
Example
[h: setLight("D20", "Candle - 5", 1)]