- Documentation
- Server functions
- getLightRadius
Function
getLightRadius
Returns the light radius in metres (3 by default).
Syntax
float getLightRadius(element theLight)Arguments
theLightelement- The light.
Returns
The radius.
Example
local lamp = createLight(0, 0, 0, 5, 12)
outputDebugString(getLightRadius(lamp))