Search the Community
Showing results for tags 'BIS_fnc_findSafePos'.
Found 2 results
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?
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?