- Documentation
- Shared functions
- getSearchLightStartPosition
Function
getSearchLightStartPosition
Returns the point the searchlight shines from.
Syntax
float, float, float getSearchLightStartPosition(element theLight)Arguments
theLightelement- The searchlight.
Returns
x, y, z, or false.
Example
local light = createSearchLight(0, 0, 30, 0, 10, 0)
local x, y, z = getSearchLightStartPosition(light)