Zombie Spawns while in Heli

Meroworld

New Member
Does anyone know of a solid script to reduce (or eliminate) zombie spawns while in a heli? I'm thinking this would prevent a lot of lag flying over a town/city.

Thoughts?

Thanks in advance!
 
only 5 zombies spawn while in a chopper.

inside player_spawncheck.sqf
Code:
if (_inVehicle) then {
    _maxZombies = _maxZombies / 2;
};
if (_isAir) then {
    _maxZombies = 5
};
 
Better yet, can I turn this value to zero? I do not have access to dayz_code (which I'm assuming this file is apart).
 
Just copy player_spawncheck.sqf into a fixes folder in your mission pbo then in the init.sqf add this line.
Code:
player_spawnCheck =        compile preprocessFileLineNumbers "fixes\player_spawnCheck.sqf";
change _maxzombies under the _isAir statement to 0 to stop the zombies from spawning
 
Back
Top