ACE3/addons/medical_ui/XEH_postInit.sqf

14 lines
344 B
Plaintext
Raw Normal View History

2016-12-01 19:54:03 +00:00
#include "script_component.hpp"
if (!hasInterface) exitWith {};
[] call FUNC(initEffects);
[FUNC(handleEffects), 1, []] call CBA_fnc_addPerFrameHandler;
2016-12-09 18:16:41 +00:00
["ace_unconscious", {
params ["_unit", "_unconscious"];
if (_unit != ACE_player) exitWith {};
[_unconscious, 1] call FUNC(effectUnconscious);
}] call CBA_fnc_addEventHandler;