This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
set_group_light_color [2017/09/26 12:12] – created justin | set_group_light_color [2018/03/16 09:49] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
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 entities in the specified group over a duration of time (with the assumption that each entity is a light source). | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
set_group_light_color(group_name, | set_group_light_color(group_name, | ||
Line 10: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|group_name|Group of entities that will have their light color changed.|[[String]]|Yes| | |group_name|Group of entities that will have their light color changed.|[[String]]|Yes| | ||
- | |color|New color for the light.|[[Color]]|Yes| | + | |color|New color for the lights.|[[Color]]|Yes| |
|duration|Fade duration from their current color to the new color.|[[Decimal]]|No| | |duration|Fade duration from their current color to the new color.|[[Decimal]]|No| | ||