StartDialogue()
On this page
Start Dialogue
Start a Dialogue Designer conversation and wait for that dialogue session to finish.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Dialogue dialogueId | Choose a Dialogue Designer ID. | Blank |
Timing. Waits for the dialogue session.
await StartDialogue({"dialogueId": ""})In use. On Elias's Talk verb, choose Ask Elias. The dialogue record decides its start node, choices and flow. Do not start the same dialogue again in OnDialogueStarted, which can create nested or repeated conversations.
EndDialogue()#
End Dialogue
End the active dialogue session.
No options in the standard catalog schema.
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await EndDialogue({})In use. Use it when a scripted event cuts a conversation short. It does not erase the authored dialogue, its choices or the saved read history. Test any actions that were supposed to follow a normal ending.
AddDialogueLine()#
Add Dialogue Line
Insert or update a line node in a runtime dialogue graph, including speaker, text, next node, voice and typewriter options.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Dialogue dialogueId | Choose a Dialogue Designer ID. | Blank |
| New Node ID nodeId | Text. | Blank |
