When using forceWeaponFire on a unit their weapon will not fire if some animations are playing. Expected behavior is that the weapon should fire regardless of animation.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10
- Category
- Scripting
Steps To Reproduce
- Execute this code in debug console.
player addEventHandler ["Fired", { params ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_gunner"]; hintSilent "Weapon Fired"; }]; [] spawn { sleep 5; player forceWeaponFire [currentWeapon player,currentWeaponMode player]; };
- Begin sprinting.
- After the 5 second sleep the hint will be seen but the weapon will not fire.