mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +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:
@@ -74,8 +74,7 @@ _maintain = {
|
||||
if (_enoughMoney) then {
|
||||
|
||||
closeDialog 1;
|
||||
[player,"repair",0,false,20] call dayz_zombieSpeak;
|
||||
[player,DZE_maintainRange,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,(getPosATL player),DZE_maintainRange,"repair"] spawn fnc_alertZombies;
|
||||
|
||||
_finished = ["Medic",1] call fn_loopAction;
|
||||
if !(_finished) exitWith {};
|
||||
|
||||
Reference in New Issue
Block a user