Use nearObjects instead of nearestObjects for spawn check #1816

Lowered spawn check radius for loot and zombies to the same as 1051.
(200m)
This commit is contained in:
ebaydayz
2017-01-30 15:45:14 -05:00
parent 752ed00566
commit 05f1cf9fe0
4 changed files with 12 additions and 11 deletions

View File

@@ -21,6 +21,6 @@ _nearWaterHole = [false,false];
} count (nearestObjects [_x, [], 1]);
if (_nearWaterHole select 0) exitWith {};
} forEach (nearestObjects [player, ["waterHoleProxy"], 50]);
} forEach (player nearObjects ["waterHoleProxy",50]);
_nearWaterHole