Skip to reading
PCA Script Programming

remove_dialogue_choice()

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 Choice | Action ID: RemoveDialogueChoice

Remove one option identified by its choice ID from a choice node.

Source table from remove_dialogue_choice(), page 97
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
Choice ID choiceIdChoose an option ID in that choice node. 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_choice({"dialogueId": "", "nodeId": "", "choiceId": ""})

In use. Remove an introductory question once it no longer makes sense. For a choice that may return later, Set Dialogue Choice Enabled is usually easier to reverse than deleting and recreating it.

Page 97 of 357Permalink
Go to page