Description
Selects random position within trigger, marker, location area or area defined by array
Syntax
param call BIS_fnc_randomPosTrigger
Parameters:
-
param: can be one of:- Object - trigger
- String - marker
- Location - location
- Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]
Note
Be aware that the
heightvalue is ignored.
Returns: Array - random position in format [x,y,z]
Examples
Example 1
marker1 call BIS_fnc_randomPosTrigger;