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_color [2017/08/09 08:38] – justin | set_entity_light_color [2017/08/12 09:45] – justin | ||
---|---|---|---|
Line 9: | Line 9: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |entity|Entity that will have its light color changed.|[[String]]|Yes| | + | |entity|Entity that will have its light color changed.|[[Entity]]|Yes| |
|color|New color for the light.|[[Color]]|Yes| | |color|New color for the light.|[[Color]]|Yes| | ||
- | |duration|Duration of the change | + | |duration|Fade duration |
+ | |||
+ | <WRAP center round info 100%> | ||
+ | If you'd like to instantly toggle the entity' | ||
+ | </ | ||
====Example: | ====Example: | ||
Line 17: | Line 21: | ||
set_entity_light_color(self, | set_entity_light_color(self, | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Entity Light Color** function to dim/ | + | Use the **Set Entity Light Color** function to dim/ |
</ | </ | ||