Update fnc_findsafePos.sqf
This commit is contained in:
parent
c71d7f7dab
commit
b5a231269c
@ -6,9 +6,19 @@ private _nearestRoad = [0,0,0];
|
|||||||
|
|
||||||
|
|
||||||
private _middle = worldSize/2;
|
private _middle = worldSize/2;
|
||||||
private _pos = [_middle,_middle,0];
|
private _pos = [_middle,_middle,0];
|
||||||
private _maxDist = _middle - 100;
|
private _maxDist = _middle - 100;
|
||||||
|
|
||||||
|
if (worldName == 'Esseker') then
|
||||||
|
{
|
||||||
|
_pos = [6502,6217,0];
|
||||||
|
_maxDist = 6000;
|
||||||
|
};
|
||||||
|
|
||||||
|
if(_roadSpawn) then
|
||||||
|
{
|
||||||
|
_maxDist = _maxDist - 1400;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
if(_waterSpawn) then
|
if(_waterSpawn) then
|
||||||
|
Loading…
Reference in New Issue
Block a user