DialogClear

Parameters
whichDialogdialog

Target dialog to clear.

comment

Completely clears the dialog, its title and buttons, even if it is already open.

You must hide the dialog first, else the player will need to quit the game, because they will be unable to click anything or send a chat message.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native DialogClear                  takes dialog whichDialog returns nothing