2018-07-29 22:07:30 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
2016-07-02 14:34:28 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2019-04-16 21:47:13 +00:00
|
|
|
[QEGVAR(medical,setUnconscious), LINKFUNC(setUnconscious)] call CBA_fnc_addEventHandler;
|
|
|
|
|
2019-10-08 17:03:05 +00:00
|
|
|
// For BETA/RC - debug non-default settings to rpt:
|
|
|
|
call compile preprocessFileLineNumbers QPATHTOF(dev\reportSettings.sqf);
|
|
|
|
|
2016-10-06 22:09:58 +00:00
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
|
|
|
|
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
|
2019-05-12 04:13:59 +00:00
|
|
|
(linearConversion [0, 1, GET_PAIN_PERCEIVED(ACE_player), 1, 5, true]) + (ACE_player getVariable [QEGVAR(medical_engine,aimFracture), 0])
|
2016-10-06 22:09:58 +00:00
|
|
|
}] call EFUNC(common,arithmeticSetSource);
|
2016-11-07 21:19:55 +00:00
|
|
|
|
|
|
|
#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);
|
2016-11-07 21:19:55 +00:00
|
|
|
#endif
|