ACE3/addons/medical/XEH_init.sqf
2015-04-19 17:28:47 +02:00

11 lines
204 B
Plaintext

#include "script_component.hpp"
private ["_unit"];
_unit = _this select 0;
_unit addEventHandler ["HandleDamage", {_this call FUNC(handleDamage)}];
if (local _unit) then {
[_unit] call FUNC(init);
};