UI_set_light
UI_set_light(object obj, bool onoff)
obj->set_light(bool onoff)
Marks the given light source as being added to or removed from its containing NPC.
Parameters
| Parameter / value | Description |
|---|---|
obj |
The light source that is being added or removed. |
onoff |
Flag specifying whether we want to add or remove the light source: true to add it to its containing NPC, false to remove it. |