This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_entity_light_enabled [2018/03/16 09:48] – justin | set_entity_light_enabled [2021/04/21 18:50] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Enables or disables the light attached to the specified entity (with the assumption that the entity is a light source). | + | Enables or disables the light attached to the specified |
====Signature: | ====Signature: | ||
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 the light' | |enabled|Determines the light' | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | If you'd like to change the color of the entity' | + | If you'd like to change the [[color]] of the [[entity|entity' |
</ | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
- | set_entity_light_enabled(entity[" | + | set_entity_light_enabled(entity[" |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
Line 34: | Line 34: | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Visual Demo: | + | ====Visual Demo:==== |
{{: | {{: | ||
</ | </ |