setLight
Function setLight
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
[h: lights = 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").
Examples
[h: setLight("D20", "Candle - 5", 1)]