From 69a0778e29e3878c1dfdd3e5b65abf6b31ab55f0 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Sun, 27 Oct 2013 00:07:43 -0500 Subject: [PATCH] comment out tow truck code --- SQF/dayz_code/actions/tow_AttachStraps.sqf | 2 +- SQF/dayz_code/compile/fn_selfActions.sqf | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/tow_AttachStraps.sqf b/SQF/dayz_code/actions/tow_AttachStraps.sqf index 5f5e3cb14..f6f33217c 100644 --- a/SQF/dayz_code/actions/tow_AttachStraps.sqf +++ b/SQF/dayz_code/actions/tow_AttachStraps.sqf @@ -78,7 +78,7 @@ if(_IsNearVehicle >= 1) then { if((sizeOf typeOf _vehicle) <= _allowedSize) then { if([_vehicle,_towTruck] call fnc_isInsideBuilding2 and ((vectorUp _vehicle) select 2) > 0.5) then { - if(typeOf _towTruck == "VIL_asistvan_DZE" ) then { + if(typeOf _towTruck == "TOW_DZE" ) then { _vehicle attachTo [_towTruck,[1.3,-2,2.3]]; _towTruck setVariable ["DZEinTow", true, true]; _towTruck setVariable ["DZEvehicleInTow", _vehicle, true]; diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 8764651f2..df38c9e78 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -560,7 +560,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu }; //Towing with tow truck - if(_typeOfCursorTarget == "VIL_asistvan_DZE") then { + /* + if(_typeOfCursorTarget == "TOW_DZE") then { if (s_player_towing < 0) then { if(!(_cursorTarget getVariable ["DZEinTow", false])) then { s_player_towing = player addAction ["Attach Straps", "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true, "",""]; @@ -572,6 +573,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu player removeAction s_player_towing; s_player_towing = -1; }; + */ //Sleep