Optional
defaultValueIndex: numberOptional
Adds a dropdown with choices to the form.
This function can't be called in read-only mode.
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.
This function can't be called in read-only mode.
Optional
defaultValue: stringOptional
Adds a textbox to the form.
This function can't be called in read-only mode.
This builder method sets the title for the modal dialog.
This function can't be called in read-only mode.
Optional
defaultValue: booleanOptional
Adds a toggle checkbox button to the form.
This function can't be called in read-only mode.
Used to create a fully customizable pop-up form for a player.
Example
effectGenerator.js