mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-07-04 23:51:56 +03:00
Update vanilla fence building
Vanilla commits applied: https://github.com/DayZMod/DayZ/commit/e88a5c42bc86f91d254104b13064f83a2dd23a76 https://github.com/DayZMod/DayZ/commit/fe9564351108ae72496592b3bd741a5064b84ccd https://github.com/DayZMod/DayZ/commit/9a82b8307c523046773b9cd3440c387c7155d70e https://github.com/DayZMod/DayZ/commit/5a305198c70b1c3bdf7fbf055f550cf3a2d14001 https://github.com/DayZMod/DayZ/commit/be872601c96e526cb443b6ad47eb71fdf6618775 https://github.com/DayZMod/DayZ/commit/44a25b1b4a86d17ecf0780ba322513d756d1cbb1 https://github.com/DayZMod/DayZ/commit/7bfeab3c13b3835c5f134b39a15c8eae948a21b7 https://github.com/DayZMod/DayZ/commit/cc5f02a41ae7cba9d0312463caf48f46eed9cdad
This commit is contained in:
@@ -8,6 +8,16 @@ _owner = owner _unit;
|
||||
//diag_log format ["%1, %2, %3, %4", _unit, _variable, _arraytosend, _owner];
|
||||
|
||||
switch (_variable) do {
|
||||
case "objWallDamage": {
|
||||
_object = _arraytosend select 0;
|
||||
if (local _object) then {
|
||||
_arraytosend call fnc_Obj_FenceHandleDam;
|
||||
} else {
|
||||
PVCDZ_obj_Damage = _arraytosend;
|
||||
_owner publicVariableClient "PVCDZ_obj_Damage";
|
||||
};
|
||||
};
|
||||
|
||||
case "VehHandleDam": {
|
||||
_vehicle = _arraytosend select 0;
|
||||
if (local _vehicle) then {
|
||||
|
||||
Reference in New Issue
Block a user