Update vanilla fence building

Vanilla commits applied:

e88a5c42bc

fe95643511

9a82b8307c

5a305198c7

be872601c9

44a25b1b4a

7bfeab3c13

cc5f02a41a
This commit is contained in:
ebaydayz
2016-09-10 11:25:10 -04:00
parent 11a3df0177
commit f57e303355
9 changed files with 69 additions and 34 deletions

View File

@@ -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 {