mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
changed; When standing before treatment, the caller will now move into crouch instead of standing up again.
This commit is contained in:
parent
ddb01e7865
commit
e78fc55b45
@ -121,7 +121,11 @@ if (vehicle _caller == _caller && {_callerAnim != ""}) then {
|
||||
_caller addWeapon "ACE_FakePrimaryWeapon";
|
||||
};
|
||||
_caller selectWeapon (primaryWeapon _caller);
|
||||
_caller setvariable [QGVAR(treatmentPrevAnimCaller), animationState _caller];
|
||||
if (stance _caller == "STAND") then {
|
||||
_caller setvariable [QGVAR(treatmentPrevAnimCaller), "amovpknlmstpsraswrfldnon"];
|
||||
} else {
|
||||
_caller setvariable [QGVAR(treatmentPrevAnimCaller), animationState _caller];
|
||||
};
|
||||
[_caller, _callerAnim] call EFUNC(common,doAnimation);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user