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