mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add weapon sway by pain
This commit is contained in:
parent
f004504a53
commit
50eeebd30d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user