AddDialogueChoiceNode()
On this page
Add Dialogue Choice Node
Create a choice node in an existing dialogue.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Dialogue dialogueId | Choose a Dialogue Designer ID. | Blank |
| New Node ID nodeId | Text. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await AddDialogueChoiceNode({"dialogueId": "", "nodeId": ""})In use. Create extra_topics, then add choices to that node with Add Dialogue Choice. Creating the choice node alone does not make the player visit it: connect an existing node to it or otherwise change the graph flow.
RemoveDialogueNode()#
Remove Dialogue Node
Remove a node from the runtime dialogue graph.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Dialogue dialogueId | Choose a Dialogue Designer ID. | Blank |
| Dialogue Node ID nodeId | Choose a node in that dialogue. Custom values are accepted. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await RemoveDialogueNode({"dialogueId": "", "nodeId": ""})In use. Remove a temporary topic after its story purpose is finished. Check every Next link and choice that points to it; removing a destination can leave a conversation with nowhere useful to go.
AddDialogueChoice()#
Add Dialogue Choice
Add or update an option inside a choice node.
