Syntax

dbSetLightRange(LightID, Distance.f)

Description

This command will set the range of the light, which determines how far it reaches from its point of origin. Directional lights do not have a range.

See Also

dbColorAmbientLight, dbLightRange, dbSetAmbientLight