ACE3/addons/medical/XEH_postInit.sqf

18 lines
568 B
Plaintext
Raw Normal View History

2018-07-29 22:07:30 +00:00
// #define DEBUG_MODE_FULL
#include "script_component.hpp"
[QEGVAR(medical,setUnconscious), LINKFUNC(setUnconscious)] call CBA_fnc_addEventHandler;
2016-10-06 22:09:58 +00:00
if (!hasInterface) exitWith {};
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
2018-05-08 07:47:03 +00:00
private _pain = GET_PAIN_PERCEIVED(ACE_player);
2016-10-06 22:09:58 +00:00
linearConversion [0, 1, _pain, 1, 5, true];
}] call EFUNC(common,arithmeticSetSource);
#ifdef DEBUG_MODE_FULL
2019-03-24 00:55:04 +00:00
call compile preprocessFileLineNumbers QPATHTOF(dev\watchVariable.sqf);
call compile preprocessFileLineNumbers QPATHTOF(dev\debugDisplay.sqf);
#endif