Adds a button to the multi button script dialogue.
name of the button
content of the button
Optional
iconPath: stringpath to an icon to show in the button
Optional
callback: (selected: string) => Promise<ButtonCallback>Adds multiple buttons to the multi button script dialogue.
array of buttons
Adds multiple buttons and ui elements to the multi button script dialogue.
Opens the script dialogue. It requires the player as one of the options.
You can configure displaying features by setting the optional values in the options
used to configure what and how to display the script dialogue.
Sets the content body of the multi button dialogue
Class used to build multi button script dialogues.
Use multiButtonScriptDialogue to initialize one.
See
multiButtonScriptDialogue