{"name":"BIS_fnc_randomPosTrigger","title":"BIS fnc randomPosTrigger","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_randomPosTrigger","revid":379507,"updated":"2026-10-31T00:27:58Z","groups":["Map and Markers"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Selects random position within trigger, marker, location area or area defined by array","syntaxes":[{"syntax":"param call BIS_fnc_randomPosTrigger","params":[{"name":"param","type":"Object, String, Location or Array","description":"Object, String, Location or Array\n\n- Object - trigger\n- String - marker\n- Location - location\n- Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]\n\n> [!NOTE]\n> Be aware that the `height` value is ignored.","type_expr":"Object | String | Location | Array","text":"param: Object, String, Location or Array\n\n- Object - trigger\n- String - marker\n- Location - location\n- Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]\n\n> [!NOTE]\n> Be aware that the `height` value is ignored."}],"returns":{"type":"Array","type_expr":"Array","description":"random position in format [x,y,z]"}}],"examples":[{"code":["marker1 call BIS_fnc_randomPosTrigger;"]}],"see_also":["BIS_fnc_findSafePos"]}