From 8adfa59e4e75bb5d513c931a7f76063bacb111b2 Mon Sep 17 00:00:00 2001 From: nikolauska Date: Sun, 7 Aug 2016 17:23:39 +0300 Subject: [PATCH] Add ace medical healing to onKilled --- addons/respawn/functions/fnc_onKilled.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/respawn/functions/fnc_onKilled.sqf b/addons/respawn/functions/fnc_onKilled.sqf index 8e2785f..a1364c7 100644 --- a/addons/respawn/functions/fnc_onKilled.sqf +++ b/addons/respawn/functions/fnc_onKilled.sqf @@ -28,6 +28,11 @@ if (["task_force_radio"] call EFUNC(common,classExists)) then { KGE_Player setVariable ["tf_unable_to_use_radio", true]; }; +// Do full heal if ace medcal is in use +if(ace_medical) then { + [_unit, _unit] call ace_medical_fnc_treatmentAdvanced_fullHealLocal; +}; + GVAR(animationLock) = true; call FUNC(animationLock);