mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Update vanilla fence building
Vanilla commits applied:e88a5c42bcfe956435119a82b8307c5a305198c7be872601c944a25b1b4a7bfeab3c13cc5f02a41a
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