Search the Community
Showing results for tags 'bis_fnc_findsafepos'.
Found 2 results
-
Spawning boats spread out along shoreline
cklymowsky posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
HI All, I've tried writing a script to spawn boats spread out along a shoreline (reliably in the water), but takes quite a while to spawn them reliably (up to a minute or more). Has anyone got a better script, better idea on how to do this or can suggest improvements to my script below? -
Find flat and safe Position?
ViseVersa posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I'm trying to find a safe and flat position anywhere on the map, so I'm using BIS_fnc_findSafePos. _safepos = [getMarkerPos "center",0,8500,(_this select 0),0,0,0]; _position = _safepos call BIS_fnc_findSafePos; But sometimes it spawns on hills to. How can I prevent that? Apparently you can set the terrain altitude, but that doesn't seems to work, as I tried it with _safepos = [getMarkerPos "center",0,8500,(_this select 0),0,999,0]; Nothing seems to work, it will spawn on hills and then everything looks crap. Anybody got an Idea?- 5 replies
-
- BIS_fnc_findSafePos
- isFlatEmpty
-
(and 2 more)
Tagged with: