User Tools

Site Tools


set_group_light_enabled

Differences

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

Link to this comparison view

Next revision
Previous revision
set_group_light_enabled [2017/09/26 12:30]
justin created
set_group_light_enabled [2018/03/16 09:49] (current)
justin
Line 4: Line 4:
 Enables or disables the light attached to any entities in the specified group (with the assumption that each entity is a light source). Enables or disables the light attached to any entities in the specified group (with the assumption that each entity is a light source).
  
 +====Signature:​====
 <code python> <code python>
 set_group_light_enabled(group_name,​ enabled) set_group_light_enabled(group_name,​ enabled)
Line 20: Line 21:
 set_group_light_enabled("​torches",​ true) set_group_light_enabled("​torches",​ true)
 </​code>​ </​code>​
-//​Results://​ All entities in the "​torches"​ group will have their lights ​disabled ​(i.e. they will be turned ​off and no longer ​cast light until turned on again).+//​Results://​ All entities in the "​torches"​ group will have their lights ​enabled ​(i.e. they will be turned ​on and cast light).
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
set_group_light_enabled.1506454255.txt.gz ยท Last modified: 2017/09/26 12:30 by justin