ArmA 2 BIS_fnc_findSafePos

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

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.

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;