From 61258c919ac0fc66c81b569be19b497c10ee25f6 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Sun, 17 Nov 2019 19:13:56 -0600 Subject: [PATCH] Add new sounds for closing vaults. --- SQF/dayz_code/compile/player_lockVault.sqf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/player_lockVault.sqf b/SQF/dayz_code/compile/player_lockVault.sqf index df92e614d..f51951c10 100644 --- a/SQF/dayz_code/compile/player_lockVault.sqf +++ b/SQF/dayz_code/compile/player_lockVault.sqf @@ -36,6 +36,12 @@ if (!isNull _obj) then { [_lockedClass,objNull] call fn_waitForObject; + if (_lockedClass == "LockboxStorageLocked") then { + [player,"lockboxclose",0,false] call dayz_zombieSpeak; + } else { + [player,"safeclose",0,false] call dayz_zombieSpeak; + }; + PVDZE_handleSafeGear = [player,_obj,1]; publicVariableServer "PVDZE_handleSafeGear"; //wait for response from server to verify safe was logged and saved before proceeding @@ -44,4 +50,4 @@ if (!isNull _obj) then { format[localize "str_epoch_player_117",_text] call dayz_rollingMessages; }; s_player_lockvault = -1; -dayz_actionInProgress = false; \ No newline at end of file +dayz_actionInProgress = false;