From ab28ed4e507d5f024ffcb82e98155ac9db3accd2 Mon Sep 17 00:00:00 2001 From: hizumi <> Date: Fri, 19 Apr 2024 00:01:14 -0500 Subject: [PATCH] Update fn_bindVehicleActions.sqf remove now unneeded custom tire patching ace interaction --- .../functions/fn_bindVehicleActions.sqf | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/framework/client/functions/fn_bindVehicleActions.sqf b/framework/client/functions/fn_bindVehicleActions.sqf index 6947457..7718b77 100644 --- a/framework/client/functions/fn_bindVehicleActions.sqf +++ b/framework/client/functions/fn_bindVehicleActions.sqf @@ -29,39 +29,6 @@ _unflip = ["LandVehicle", 0, ["ACE_MainActions"], _unflip, true] call ace_interact_menu_fnc_addActionToClass; -_patchTire = -[ - "patchTire", - "Patch Tire", - "\a3\ui_f\data\IGUI\Cfg\Actions\repair_ca.paa", - { - [_player, "AinvPknlMstpSnonWnonDr_medic5", 0] call ace_common_fnc_doAnimation; - - [ - 30, - [_player, _target], - { - params ["_args"]; - _args params ["_player", "_target"]; - hint "Tire Patched"; - _target setDamage 0.2; - _target setVariable["milsim_ace_repair_wheel_canPatch", false]; - }, - { - params ["_args"]; - _args params ["_player", "_target"]; - hint "Stopped repair"; - [_player, "", 0] call ace_common_fnc_doAnimation; - }, - "Patching" - ] call ace_common_fnc_progressBar - }, - { ( alive _target ) && ( [_player, "ToolKit"] call ace_common_fnc_hasItem ) && ( damage _target > 0.2 ) && ( _target getVariable["milsim_ace_repair_wheel_canPatch", true] ) } -] call ace_interact_menu_fnc_createAction; - -["ACE_Wheel", 0, ["ACE_MainActions"], _patchTire, true] call ace_interact_menu_fnc_addActionToClass; - - diag_log text "[MILSIM] (client) vehicle actions bound"; nil; \ No newline at end of file