This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_group_light_color [2018/03/16 09:49] – justin | set_group_light_color [2021/04/21 18:51] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Changes the color of the light attached to any entities in the specified group over a duration of time (with the assumption that each entity is a light source). | + | Changes the color of the light attached to any [[entity|entities]] in the specified |
====Signature: | ====Signature: | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |group_name|Group of entities that will have their light color changed.|[[String]]|Yes| | + | |group_name|[[groups|Group]] of [[entity|entities]] that will have their light [[color]] changed.|[[String]]|Yes| |
- | |color|New color for the lights.|[[Color]]|Yes| | + | |color|New |
- | |duration|Fade duration from their current color to the new color.|[[Decimal]]|No| | + | |duration|Fade duration from their current |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | If you'd like to instantly toggle the entity group' | + | If you'd like to instantly toggle the [[entity]] [[groups|group' |
</ | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
- | set_group_light_color(" | + | set_group_light_color(" |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
Line 35: | Line 35: | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Visual Demo: | + | ====Visual Demo:==== |
{{: | {{: | ||
</ | </ |