arma2:scripting:bis_fnc_findsafepos
This is an old revision of the document!
BIS_fnc_findSafePos
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;
arma2/scripting/bis_fnc_findsafepos.1313380194.txt.gz · Last modified: 2011/08/15 03:49 by snakeman
