User Tools

Site Tools


set_entity_light_attenuation

Differences

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

Link to this comparison view

Next revision
Previous revision
set_entity_light_attenuation [2024/02/06 14:50] – created justinset_entity_light_attenuation [2024/02/22 21:10] (current) justin
Line 2: Line 2:
 ---- ----
 (WIP) (WIP)
 +
 +Changes the attenuation of the light attached to the specified [[entity]] over a duration of time (with the assumption that the [[entity]] is a light source).
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-set_entity_light_attenuation()+set_entity_light_attenuation(entity, attenuation, duration)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|entity| |[[Entity]]|Yes| 
 +|attenuation| |[[Number]]|Yes| 
 +|duration| |[[Number]]|No|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-set_entity_light_attenuation();+
 </code> </code>
 //Results:// //Results://
set_entity_light_attenuation.1707259807.txt.gz · Last modified: 2024/02/06 14:50 by justin