Does not always work as expected if you use it to "Cancel" something on behalf of a player, like cancel research in the current building. Since it always sends the Escape key, it will break if hotkey layout was changed from classic to grid/custom in game settings. Explanation:
Does not trigger (physical) player key events like BlzTriggerRegisterPlayerKeyEvent
.
Generated using TypeDoc
Emulates an ESCAPE key press internally, used to interact with UI, e.g. close F10 menu.