User Tools

Site Tools


set_entity_light_enabled

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
set_entity_light_enabled [2017/08/11 21:32] – created justinset_entity_light_enabled [2017/08/11 22:09] justin
Line 10: Line 10:
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |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 whether the light will be turned on or off.|[[Boolean]]|Yes|+|enabled|Determines the light's state (on or off).|[[Boolean]]|Yes|
  
 ====Example:==== ====Example:====
Line 19: Line 19:
  
 <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.
 </WRAP> </WRAP>
  
set_entity_light_enabled.txt · Last modified: 2021/04/21 18:50 by justin