Page MenuHomeFeedback Tracker

addUserActionEventHandler doesn't trigger reliably for Sec. Mouse Button input
New, NormalPublic

Description

User Action Event Handler doesn't seem to trigger for sec. mouse button presses. Long presses are fine.

Script to reproduce:

addUserActionEventHandler ["optics", "Activate", {systemChat "perm"; systemChat cameraView}];

"Deactivate" seems to work with long presses, but not short ones.

Tested in 2.07 dev branch.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Bind Sec. Mouse Button to Optics action under Controls, and any other key.
  2. Open a mission in Eden Editor.
  3. Paste script in debug console, execute.
  4. Press second key assigned to optics action, systemChat outputs cameraView
  5. Press Sec. Mouse Button, nothing outputs on systemChat

Event Timeline

This comment was removed by BIS_fnc_KK.