From 467802b5d7788baf6480597523f029c0617b57a7 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Wed, 7 Oct 2020 13:23:06 +0200 Subject: [PATCH] Update FencesGates.hpp --- .../Configs/CfgVehicles/Buildables/FencesGates.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesGates.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesGates.hpp index 898ddef04..0270dec2f 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesGates.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesGates.hpp @@ -63,7 +63,7 @@ class WoodenGate_1_DZ: DZE_Housebase priority = 6; displayName = $STR_BLD_ACTIONS_UNLOCKGATE; condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)"; - statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;"; + statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];"; }; class Unlock_Door_Dialog { @@ -124,7 +124,7 @@ class WoodenGate_2_DZ: DZE_Housebase priority = 6; displayName = $STR_BLD_ACTIONS_UNLOCKGATE; condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)"; - statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;"; + statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];"; }; class Unlock_Door_Dialog { @@ -185,7 +185,7 @@ class WoodenGate_3_DZ: DZE_Housebase priority = 6; displayName = $STR_BLD_ACTIONS_UNLOCKGATE; condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)"; - statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;"; + statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];"; }; class Unlock_Door_Dialog { @@ -245,7 +245,7 @@ class WoodenGate_4_DZ: DZE_Housebase priority = 6; displayName = $STR_BLD_ACTIONS_UNLOCKGATE; condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)"; - statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;"; + statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];"; }; class Unlock_Door_Dialog {