[Feature request] onMouseButtonDown EH if code returns TRUE-override default action
Hi guys.
The idea is that when onMouseButtonDown Eventhandler code returns TRUE, the default action will be overriden the same way like with onKeyDown EH.
I was trying to create script that will limit player´s actions during certain period of time in mission and allow only certain actions to be performed.
With onKeyDown EH everything works as intended, for action menu i used inGameUISetEventHandler which works fine, but i noticed there is no option how to override mouse buttons.
I was able to override at least "dafaultAction" with addAction command so the fire button won´t fire weapon.
But to be able to override every action would require to use addAction for every possible actions ingame (which is not nice if not impossible).
As for an example- player might have "Throw" binded on mouse which would give him option to kill units when it´s "not allowed".
That´s why i think having option to override default action for mouse buttons would be awesome to have.
Thank you for considering this feature regardless of the outcome.