ACE3/addons/core/functions/fnc_fixLoweredRifleAnimation.sqf
2015-01-12 05:14:15 -06:00

11 lines
316 B
Plaintext

// by commy2
#include "\z\ace\addons\core\script_component.hpp"
private "_unit";
_unit = _this select 0;
if (currentWeapon _unit != "" && {currentWeapon _unit == primaryWeapon _unit} && {weaponLowered _unit} && {stance _unit == "STAND"}) then {
[_unit, "amovpercmstpsraswrfldnon", 0] call FUNC(doAnimation);
};