User Tools

Site Tools


set_group_light_color

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
set_group_light_color [2017/09/26 12:12] – created justinset_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, color, duration) set_group_light_color(group_name, color, duration)
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|
  
set_group_light_color.txt · Last modified: 2021/04/21 18:51 by justin