mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add logging for unlocking doors
This commit is contained in:
@@ -288,7 +288,7 @@ class Land_DZE_WoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
|||||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
//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)";
|
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
|
class Unlock_Door_Dialog : Open_Door
|
||||||
{
|
{
|
||||||
@@ -387,7 +387,7 @@ class Land_DZE_LargeWoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
|||||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
//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)";
|
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
|
class Unlock_Door_Dialog : Open_Door
|
||||||
{
|
{
|
||||||
@@ -486,7 +486,7 @@ class Land_DZE_GarageWoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
|||||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
//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)";
|
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
|
class Unlock_Door_Dialog : Open_Door
|
||||||
{
|
{
|
||||||
@@ -550,7 +550,7 @@ class CinderWallDoorLocked_DZ: CinderWallDoorLocked_DZ_Base {
|
|||||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
//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)";
|
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
|
class Unlock_Door_Dialog : Open_Door
|
||||||
{
|
{
|
||||||
@@ -652,7 +652,7 @@ class CinderWallDoorSmallLocked_DZ: CinderWallDoorLocked_DZ_Base {
|
|||||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
//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)";
|
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
|
class Unlock_Door_Dialog : Open_Door
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user