The LightDropoff option sets the light drop off rate. The OptionValue is set to either any value between 0 and 1. This option is only available when the LightType is set to 2.
Syntax
object.Construct(“CreateModule”)
object.Option(“Type”, “Light”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Light”)
object.Option(“LightDropoff”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to set the light drop off rate.
CommandApi.Construct ("ModifyModule")
CommandApi.Option("Module", "Light")
CommandApi.Option ("LightDropoff", "0.8")
CommandApi.Do()
Used by: Light
See Also