You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TriggerRegisterDialogEvent emits event id 92 rather than EVENT_DIALOG_CLICK = ConvertDialogEvent(91). 92 is not listed, seems to be a confusion. I could not get 91 to be emitted.
The unnamed event id 316 is used for TriggerRegisterCommandEvent and TriggerRegisterUpgradeCommandEvent.
The newer 1.31 event responses can be called in unrelated contexts and tap into (seemingly other event) data. See attached picture where they are called in a mouse move event (event id 307) or unit damaged event (event id 52).
In TriggerRegisterPlayerChatEvent context, BlzGetTriggerFrameText and BlzGetTriggerSyncPrefix yield the entered chat string.
BlzGetTriggerFrameText, BlzGetTriggerSyncPrefix, and BlzGetTriggerSyncData can crash the game when called in wrong context.
The text was updated successfully, but these errors were encountered:
Since there are gaps in the event ids (https://docs.google.com/spreadsheets/d/1-NSMX9DMqIEAqvLgb_dYNZnM3bKYkittpePcB5_cnAc/edit#gid=0), I have been searching for hidden events with bruteforce methods. So far, there has not been too much luck, but still there were some curious things to be observed.
TriggerRegisterDialogEvent
emits event id92
rather thanEVENT_DIALOG_CLICK = ConvertDialogEvent(91)
.92
is not listed, seems to be a confusion. I could not get91
to be emitted.The unnamed event id
316
is used forTriggerRegisterCommandEvent
andTriggerRegisterUpgradeCommandEvent
.The newer 1.31 event responses can be called in unrelated contexts and tap into (seemingly other event) data. See attached picture where they are called in a mouse move event (event id
307
) or unit damaged event (event id52
).In
TriggerRegisterPlayerChatEvent
context,BlzGetTriggerFrameText
andBlzGetTriggerSyncPrefix
yield the entered chat string.BlzGetTriggerFrameText
,BlzGetTriggerSyncPrefix
, andBlzGetTriggerSyncData
can crash the game when called in wrong context.The text was updated successfully, but these errors were encountered: