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.