The target entity that the dialogue is focused on.
The title of the dialogue form.
Optionalcontent: stringThe content of the dialogue form.
Whether the dialogue form is from a trait.
ReadonlybuttonsThe buttons of the dialogue form.
The dialogue content of the form.
Protected ReadonlyformThe form id of the form.
Whether the dialogue form is from a trait.
ReadonlytargetThe target entity that the dialogue is focused on.
The title of the form.
ReadonlytypeThe type of form.
StaticformThe next form id to use when creating a new form.
Adds a button to the dialogue form.
The text of the button.
The current instance of the dialogue form.
Closes the form for a player.
The player to close the form for.
Shows the dialogue synchronously to a player.
The player to show the form to.
The result callback to call when the form is submitted.
Shows the dialogue asynchronously to a player.
The player to show the form to.
A promise that resolves with the form response or an error.
Staticclose
Creates a new dialogue form.