CBA_fnc_randPos

Description

A function used to randomize a position around a given center

Parameters

_position<MARKER, OBJECT, LOCATION, GROUP, TASK or POSITION>
_radiusrandom Radius <NUMBER>
_directionrandomization direction (optional, default: 0) <NUMBER>
_anglethe angle of the circular arc in which the random position will end up.  (optional, default: 360) <NUMBER>

Example

_position =  [position, radius] call CBA_fnc_randPos

Returns

Position[X,Y,Z]

Author

Rommel, commy2

Close