Skip to reading
PCA Script Programming

set_dialogue_choice_enabled()

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

Enable / Disable Dialogue Choice | Action ID: SetDialogueChoiceEnabled

Enable or disable an existing choice without removing its record.

Source table from set_dialogue_choice_enabled(), page 98
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
Enabled enabledExplicit on/off state for the feature or response.true

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

Code example
set_dialogue_choice_enabled({"dialogueId": "", "nodeId": "", "choiceId": ""})

In use. Enable the archive question after examining the door. Select the exact choice node and choice ID. Its visible/disabled presentation also depends on the dialogue read and choice-display settings.

Page 98 of 357Permalink
Go to page