If you bind an "MouseButtonDown"/"MouseButtonUp"/"MouseZChanged" event handler, returning true from the resulting function you called, the default action will still be performed. {F20526}
Description
Description
Details
Details
- Legacy ID
- 967537474
- Severity
- None
- Resolution
- Duplicate
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- Load the provided repro mission in the editor and preview
- Left click which will trigger an event handler defined in the mission and show a hint
- Notice that you will still fire your weapon, even if the event handler has returned "true"
- Roll your mouse wheel up or down
- Notice that the action menu will still open, even if the event handler has returned "true"
Additional Information
Build 0.71.107070
Event Timeline
Comment Actions
+1 please fix ASAP! It's funny how something so "tiny" and under the surface something can be and still have such a huge impact on future mod development.
Comment Actions
and whats up with mouse scrollwheel?
i think we need the abibility to setup the scrollwheel in
the configuration. (i think about changing stances or zeroing weapons)
Comment Actions
Closing in favor of http://feedback.arma3.com/view.php?id=23679 which has been assigned.
Comment Actions
Seems to be still broken with the following code:
finddisplay 46 displayAddEventHandler ["MouseButtonDown",{hint "still shooting"; true}];
Link to the other task is broken/non existing