Script API - v1.19.70
    Preparing search index...

    Builds a simple two-button modal dialog.

    Index

    Constructors

    Methods

    • Beta

      Parameters

      • bodyText: string

      Returns MessageFormData

      Method that sets the body text for the modal form.

    • Beta

      Parameters

      • text: string

      Returns MessageFormData

      Method that sets the text for the first button of the dialog.

    • Beta

      Parameters

      • text: string

      Returns MessageFormData

      This method sets the text for the second button on the dialog.

    • Beta

      Parameters

      • player: Player

        Player to show this dialog to.

      Returns Promise<MessageFormResponse>

      Creates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.

      This function can throw errors.

    • Beta

      Parameters

      • titleText: string

      Returns MessageFormData

      This builder method sets the title for the modal dialog.