====== BIS_fnc_findSafePos ====== How to find safe position with open ground etc. Please read [[arma2:scripting:bis_fnc_spawngroup|BIS_fnc_SpawnGroup]] how to place Functions manager gamelogic and to check if its running and initialized. ^ Parameter ^ Description ^ | 1 | Position | | 2 | Minimum distance | | 3 | Maximum distance | | 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;