How to find safe position with open ground etc.
Please read BIS_fnc_SpawnGroup how to place Functions manager gamelogic and to check if its running and initialized.
|4||Maximum distance from nearest object|
|5||0 - cant be in water, 1 - ?|
|6||Terrain gradient (how steep terrain)|
|7||0 - shore mode; does not have to be in shore|
_newPos = [_pos, 0, 500, 30, 0, 20, 0] call BIS_fnc_findSafePos;