mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
Re-build DayZ_SafeObjects to handle all objects
This is a complete re-build of DayZ_SafeObjects. It was necessary to remove all the duplicated entries. DayZ_SafeObjects gets defined by multiple arrays now. This makes it much easier to update. Also every building with gear gets maintained now. Every single buildable epoch building is included within the maintain array and DayZ_SafeObjects.
This commit is contained in:
@@ -17,7 +17,7 @@ if (isNull _door) exitWith {dayz_actionInProgress = false; systemChat localize "
|
||||
s_player_gdoor_opener_ctrl = 1;
|
||||
|
||||
call {
|
||||
if (_typeof in ["WoodenGate_1_DZ","WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ"]) exitwith {
|
||||
if (_typeof in DZE_LockedGates) exitwith {
|
||||
if (_door animationPhase "DoorR" == 0) then {
|
||||
systemChat localize "STR_CL_GDO_DOOR_OPEN";
|
||||
_door animate ["DoorR",1];
|
||||
|
||||
Reference in New Issue
Block a user