Skip to reading
PCA Script Programming

remove_dialogue_node()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Remove Dialogue Node | Action ID: RemoveDialogueNode

Remove a node from the runtime dialogue graph.

Source table from remove_dialogue_node(), page 95
Option key / fieldMeaning and accepted inputDefault
Dialogue dialogueIdChoose a Dialogue Designer ID.Blank
Dialogue Node ID nodeIdChoose a node in that dialogue. Custom values are accepted.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
remove_dialogue_node({"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.

add_dialogue_choice()#

Add Dialogue Choice | Action ID: AddDialogueChoice

Add or update an option inside a choice node.

Source table from remove_dialogue_node(), page 95
Option key / fieldMeaning and accepted inputDefault
Dialogue dialogueIdChoose a Dialogue Designer ID.Blank
Choice Node ID nodeIdChoose a choice node in that dialogue. Custom values are accepted.Blank
New Choice ID choiceIdText.Blank
Text textText.Blank
Next Node nextChoose a node in that dialogue. May be blank. Custom values are accepted.Blank
Enabled enabledExplicit on/off state for the feature or response.true
Always Allow Repeat repeatableAllow this dialogue choice to be selected repeatedly under its read policy.false
Page 95 of 357Permalink
Go to page