(Official) LUA Scripting Documentation
get_random_pos
Get a random position within a circle.
Spec:
get_random_pos(
double x,
double y,
double z,
double radius)
Parameters
x: The x component of the center positiony: The y component of the center positionz: The z component of the center positionradius: The maximum distance the random position can be from the center position
Returns
double: The x component of the random positiondouble: The y component of the random positiondouble: The z component of the random position
The position components are world space coordinates so they are floating point numbers.
Incomplete
This documentation is incomplete