Increase the range of zombie checks

Currently zombies can spawn directly next to the player or in the line of sight.
This commit is contained in:
AirwavesMan
2020-07-23 16:00:58 +02:00
parent 972b31d4fc
commit 64216297f8

View File

@@ -9,7 +9,7 @@ _isWreck = _this select 3;
if (surfaceIsWater _position) exitWith { diag_log "Zombie_Generate: Location is in Water Abort"; };
if (([_position, 15, 10, 70] call fnc_fieldOfView) || {_isWreck}) then {
if (([_position, 30, 10, 200] call fnc_fieldOfView) || _isWreck) then {
if (count _unitTypes == 0) then {
_unitTypes = getArray (missionConfigFile >> "CfgLoot" >> "Buildings" >> "Default" >> "zombieClass");