mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
16 lines
478 B
Plaintext
16 lines
478 B
Plaintext
// #define DEBUG_MODE_FULL
|
|
#include "script_component.hpp"
|
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
|
|
private _pain = GET_PAIN_PERCEIVED(ACE_player);
|
|
|
|
linearConversion [0, 1, _pain, 1, 5, true];
|
|
}] call EFUNC(common,arithmeticSetSource);
|
|
|
|
#ifdef DEBUG_MODE_FULL
|
|
call compile preprocessFileLineNumbers QPATHTOF(dev\watchVariable.sqf);
|
|
call compile preprocessFileLineNumbers QPATHTOF(dev\debugDisplay.sqf);
|
|
#endif
|