ACE3/addons/common/functions/fnc_fixLoweredRifleAnimation.sqf

11 lines
297 B
Plaintext
Raw Normal View History

// by commy2
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
private "_unit";
_unit = _this select 0;
if (currentWeapon _unit != "" && {currentWeapon _unit == primaryWeapon _unit} && {weaponLowered _unit} && {stance _unit == "STAND"}) then {
2015-01-11 18:20:14 +00:00
[_unit, "amovpercmstpsraswrfldnon", 0] call FUNC(doAnimation);
};