add weapon sway by pain

This commit is contained in:
commy2 2016-10-07 00:09:58 +02:00
parent f004504a53
commit 50eeebd30d

View File

@ -27,3 +27,11 @@ if (isServer) then {
};
};
}] call CBA_fnc_addEventHandler;
if (!hasInterface) exitWith {};
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
private _pain = ACE_player getVariable [QGVAR(pain), 0];
linearConversion [0, 1, _pain, 1, 5, true];
}] call EFUNC(common,arithmeticSetSource);