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

Both sides previous revisionPrevious revision
Next revision
Previous revision
set_entity_light_enabled [2020/05/03 10:52] justinset_entity_light_enabled [2021/04/21 18:50] (current) justin
Line 19: Line 19:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-set_entity_light_enabled(entity["lamp"], false)+set_entity_light_enabled(entity["lamp"], false);
 </code> </code>
 //Results:// The [[entity]] with an ID of "lamp" will have its light disabled (i.e. it will be turned off and no longer cast light until turned on again). //Results:// The [[entity]] with an ID of "lamp" will have its light disabled (i.e. it will be turned off and no longer cast light until turned on again).
Line 34: Line 34:
  
 <WRAP half column> <WRAP half column>
-====Visual Demo:==== +====Visual Demo:====
 {{:wiki:set_entity_light_enabled_demo.gif?nolink|}} {{:wiki:set_entity_light_enabled_demo.gif?nolink|}}
 </WRAP> </WRAP>
set_entity_light_enabled.1588528322.txt.gz · Last modified: 2020/05/03 10:52 by justin