getSearchLightStartRadius
Client-side
Server-side
Shared
Pair: setSearchLightStartRadius
Manual Review Required
Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.
This function gets the start radius of a searchlight element.
OOP Syntax Help! I don't understand this!
- Method: searchlight:getStartRadius(...)
- Variable: .startRadius
Syntax
float getSearchLightStartRadius ( searchlight theSearchLight )Required Arguments
- theSearchLight: the searchlight to get the radius of the searchlight's light cone in its beginning.
Returns
- float: value
If the specified searchlight element is valid, this function will return one float , which is the searchlight's start radius. If not, it will return false plus an error message.
Code Examples
shared
-- TODO