Skip to content

ShowModalDialog ​

GameserverMessageShowModalDialog · inbound · 88 bytes

Subscribe with Engine.on("ShowModalDialog", fn). Print the live usage block with Engine.help("ShowModalDialog").

lua
local Engine = require("sdk.engine")

Engine.on("ShowModalDialog", function(ev)
  print(ev.window_id, ev.title, ev.text)
end)
NameKindNested
window_idu32—
titlestr—
textstr—
choicesrepLabelValuePair
buttonsrepLabelValuePair
enter_buttonu32—
escape_buttonu32—
priorityu8—

Arcane SDK catalog generated from scripts/sdk