changed; When standing before treatment, the caller will now move into crouch instead of standing up again.

This commit is contained in:
Glowbal 2015-04-04 20:21:52 +02:00
parent ddb01e7865
commit e78fc55b45

View File

@ -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);
};