Disable Zombie attack while in cars

ALKINDA

Valued Member!
this new update made it so zombies started hitting you while you are in the car. is there a way to disable this?
 
Code:
_targets = _unit getVariable ["targets",[]];
//if (!(_vehicle in _targets)) exitWith {};


thats what was in it. should i uncomment the second line here?
 
mine is already commented out in dayz_code, thats where i edit right? and i tried putting execVM zombie_playerattack.sqf in my init but zombies still attack
 
i got this workin for my server but it only seems to be like the base vehicles of DayZ, i tested tractor and bike zombies dont attack but they did in cdf_ural,im sure there must be someway to adjust this for other vehicles any help would be appreciated thanx
 
i got this workin for my server but it only seems to be like the base vehicles of DayZ, i tested tractor and bike zombies dont attack but they did in cdf_ural,im sure there must be someway to adjust this for other vehicles any help would be appreciated thanx

yea i noticed this with some helicopters.
 
Back
Top