Page MenuHomeFeedback Tracker

forceWeaponFire does not reliably use fire mode burst settings
New, NormalPublic

Description

With forceWeaponFire, you can specify a firemode to use when firing the weapon. One of the main reasons to use a different fire mode is to use its burst settings, to force the AI to fire a burst of shots. However, in most cases, forceWeaponFire only fires a single shot, even if a mode with bigger bursts is specified.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Load and play the attached demo mission.
The action menu contains options to force the test subjects to fire in various fire modes. Try them out.

Note that the Navid CLOSE mode, which is supposed to be a 10-round burst, fires only a single shot. Meanwhile, the BURST and MEDIUM modes correctly fire 3-round bursts.
Note that the helo's countermeasures and cannon can't be made to fire bursts in any mode.

Additional Information

2.16 stable August 2024

Event Timeline

NikkoJT created this task.Aug 19 2024, 8:22 AM