2015-02-28 10:41:27 +00:00
|
|
|
/**
|
|
|
|
* fn_heal.sqf
|
|
|
|
* @Descr: N/A
|
|
|
|
* @Author: Glowbal
|
|
|
|
*
|
|
|
|
* @Arguments: []
|
|
|
|
* @Return:
|
|
|
|
* @PublicAPI: false
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-09-03 13:49:49 +00:00
|
|
|
params ["_caller", "_target", "_selectionName", "_className", "_items"];
|
2015-02-28 10:41:27 +00:00
|
|
|
|
2016-02-18 01:54:43 +00:00
|
|
|
if (local _target) then {
|
|
|
|
["treatmentAdvanced_fullHealLocal", [_caller, _target]] call EFUNC(common,localEvent);
|
|
|
|
} else {
|
|
|
|
["treatmentAdvanced_fullHealLocal", _target, [_caller, _target]] call EFUNC(common,targetEvent);
|
|
|
|
};
|
2015-02-28 10:41:27 +00:00
|
|
|
|
|
|
|
true;
|