2015-02-06 12:47:17 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
private ["_unit"];
|
|
|
|
_unit = _this select 0;
|
|
|
|
|
|
|
|
_unit addEventHandler ["HandleDamage", {_this call FUNC(handleDamage)}];
|
|
|
|
|
2015-03-24 20:25:21 +00:00
|
|
|
if (local _unit) then {
|
|
|
|
[_unit] call FUNC(init);
|
|
|
|
};
|