Set Entity Light Attenuation


(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:

set_entity_light_attenuation(entity, attenuation, duration)
ArgumentDescriptionTypeRequired
entity EntityYes
attenuation NumberYes
duration NumberNo

Example:

 

Results:

Use the Set Entity Light Attenuation function to…


Editor Node: