- Documentation
- Shared functions
- getSearchLightEndRadius
Function
getSearchLightEndRadius
Returns the radius of the light spot at the beam's end (10 by default).
Syntax
float getSearchLightEndRadius(element theLight)Arguments
theLightelement- The searchlight.
Returns
Radius in metres.
Example
local light = createSearchLight(0, 0, 30, 0, 10, 0)
outputDebugString(getSearchLightEndRadius(light))