PMC websites shut down November 13th 2025 unless web hosting fees are paid. See up to date status from PMC Website Hosting and Domain Registration Fee Status forum topic. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond November 13th 2025 when web hosting fees are due.

User Tools

Site Tools


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