From 50aa06296fa6e5530f30d7eeea1ccc0a32f27181 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Mon, 28 Sep 2020 14:20:36 +0200 Subject: [PATCH] Add logging for unlocking doors --- SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp index 6aab5c888..dafde3dc4 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp @@ -288,7 +288,7 @@ class Land_DZE_WoodDoorLocked: Land_DZE_WoodDoorLocked_Base { displayName=$STR_EPOCH_DOORS_UNLOCK; //condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; - statement="this animate [""Open_hinge"", 1]"; + statement="this animate [""Open_hinge"", 1];PVDZE_handleSafeGear = [player,this,5,DZE_Lock_Door];publicVariableServer ""PVDZE_handleSafeGear"";"; }; class Unlock_Door_Dialog : Open_Door { @@ -387,7 +387,7 @@ class Land_DZE_LargeWoodDoorLocked: Land_DZE_WoodDoorLocked_Base { displayName=$STR_EPOCH_DOORS_UNLOCK; //condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; - statement="this animate [""Open_hinge"", 1]"; + statement="this animate [""Open_hinge"", 1];PVDZE_handleSafeGear = [player,this,5,DZE_Lock_Door];publicVariableServer ""PVDZE_handleSafeGear"";"; }; class Unlock_Door_Dialog : Open_Door { @@ -486,7 +486,7 @@ class Land_DZE_GarageWoodDoorLocked: Land_DZE_WoodDoorLocked_Base { displayName=$STR_EPOCH_DOORS_UNLOCK; //condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; - statement="this animate [""Open_hinge"", 1]"; + statement="this animate [""Open_hinge"", 1];PVDZE_handleSafeGear = [player,this,5,DZE_Lock_Door];publicVariableServer ""PVDZE_handleSafeGear"";"; }; class Unlock_Door_Dialog : Open_Door { @@ -550,7 +550,7 @@ class CinderWallDoorLocked_DZ: CinderWallDoorLocked_DZ_Base { displayName=$STR_EPOCH_DOORS_UNLOCK; //condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 0)"; - statement="this animate [""Open_latch"", 1]"; + statement="this animate [""Open_latch"", 1];PVDZE_handleSafeGear = [player,this,5,DZE_Lock_Door];publicVariableServer ""PVDZE_handleSafeGear"";" }; class Unlock_Door_Dialog : Open_Door { @@ -652,7 +652,7 @@ class CinderWallDoorSmallLocked_DZ: CinderWallDoorLocked_DZ_Base { displayName=$STR_EPOCH_DOORS_UNLOCK; //condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)"; condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 0)"; - statement="this animate [""Open_latch"", 1]"; + statement="this animate [""Open_latch"", 1];PVDZE_handleSafeGear = [player,this,5,DZE_Lock_Door];publicVariableServer ""PVDZE_handleSafeGear"";" }; class Unlock_Door_Dialog : Open_Door {