• Creates a new dialog. It is empty and hidden by default.

    Since this creates an object and returns a handle, it must be freed when no longer needed with DialogDestroy.

    An empty dialog must be populated with buttons (DialogSetMessage, DialogAddButton, DialogAddQuitButton) and finally displayed with DialogDisplay.

    Returns HandleHolder<"dialog">

    Note

    While a dialog is open, the player can only interact with the dialog. Everything else is disabled.

    An empty dialog completely blocks all player input (except multiboard interaction and probably other scripted custom elements). A player can only exit the game with Alt+F4.

    Bug

    The top-bar menu buttons are greyed out when a dialog is shown. If the player presses Alt+F4 and then clicks "Cancel", the menu buttons become visible and clickable but do nothing.

Generated using TypeDoc