This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
set_entity_light_enabled [2017/08/11 21:33] – justin | set_entity_light_enabled [2017/08/12 09:48] – justin | ||
---|---|---|---|
Line 11: | Line 11: | ||
|entity|Entity that will have its light enabled or disabled.|[[Entity]]|Yes| | |entity|Entity that will have its light enabled or disabled.|[[Entity]]|Yes| | ||
|enabled|Determines the light' | |enabled|Determines the light' | ||
+ | |||
+ | <WRAP center round info 100%> | ||
+ | If you'd like to change the color of the entity' | ||
+ | </ | ||
====Example: | ====Example: | ||
Line 19: | Line 23: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Entity Light Enabled** function to... | + | Use the **Set Entity Light Enabled** function to toggle a room's light on and off when the player interacts with a switch or button. |
</ | </ | ||