Page MenuHomeFeedback Tracker

OpticSwitch eventhandler doesn't fire when aiming is blocked by an animation
Confirmed Internally, NormalPublic

Description

related to: https://feedback.bistudio.com/T151270

Arma by default will block the ability to aim with certain animations, but when the animation is changed/completed such as going from sprinting to a stop, the previous aim state change request is put into action and the player will begin aiming.
In these instances the opticSwitch eventhandler will not fire, neither when the right click is initiated nor when the transition to aiming begins after the character stopped.

It not firing when the right click occurs during the sprint animation is fine and correct but ideally the eventhandler should fire later when the aiming transition occurs when the character stops.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Place a unit down in 3den and add the eventhandler. IE:
this addeventhandler ["OpticsSwitch",{systemchat str(_this}];
  1. Load into editor preview
  2. Start sprinting and attempt to aim down sights
  3. note that the eventhandler doesn't fire, stop sprinting and you will begin aiming and the eventhandler still doesn't fire.
  4. exit ADS and the eventhandler will fire

Event Timeline

NeilZar changed the task status from New to Confirmed Internally.EditedMay 24 2022, 3:39 PM
NeilZar added a subscriber: NeilZar.

Fixed in Rev. 149403