SetDialog

If the dialog window is open, appends a new line, otherwise sets the line that is shown when the dialog window is opened. A dialog line may contain several dialog options, seperated by an empty space, that are represented by "[Button key|Button Text]" (must include the brackets in the dialog string). This shows that when button text is selected, Camelot sends a "input Selected [Button key]" message.

Arguments
Argument Dialog Line
Type String
Default REQUIRED
Description New dialog line

Examples

SetDialog("Can I help you?")

SetDialog("Can I help you? [Yes|'Yes'] [No|'I do not need help!']")


See Also