ACE3/addons/medical_ui/XEH_postInit.sqf
2017-01-29 21:59:24 +01:00

14 lines
344 B
Plaintext

#include "script_component.hpp"
if (!hasInterface) exitWith {};
[] call FUNC(initEffects);
[FUNC(handleEffects), 1, []] call CBA_fnc_addPerFrameHandler;
["ace_unconscious", {
params ["_unit", "_unconscious"];
if (_unit != ACE_player) exitWith {};
[_unconscious, 1] call FUNC(effectUnconscious);
}] call CBA_fnc_addEventHandler;