mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
Group sounds and zombie calls
dayz_zombieSpeak and player_alertZombies are called often together or should be. fnc_alertZombies groups them together and uses the given parameters. This streamlines and corrects the missing or incorrect calls from dayz_zombieSpeak or player_alertZombies.
This commit is contained in:
@@ -32,8 +32,7 @@ if (count _findNearestPlant >= 1) then {
|
||||
_isOk = true;
|
||||
_proceed = false;
|
||||
while {_isOk} do {
|
||||
[player,20,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,"chopwood",0,false] call dayz_zombieSpeak;
|
||||
[player,(getPosATL player),20,"chopwood"] spawn fnc_alertZombies;
|
||||
|
||||
_finished = ["Medic",1] call fn_loopAction;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user