Optional
defaultValueIndex: numberOptional
Adds a dropdown with choices to the form.
Player to show this dialog to.
Creates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.
This function can't be called in read-only mode.
This function can throw errors.
Optional
defaultValue: numberOptional
Adds a numeric slider to the form.
Optional
defaultValue: string | RawMessageOptional
Adds a textbox to the form.
This builder method sets the title for the modal dialog.
Optional
defaultValue: booleanOptional
Adds a toggle checkbox button to the form.
Used to create a fully customizable pop-up form for a player.
Example
modalFormSimple.ts
Example
effectGenerator.js