Skip to reading
PCA Script Programming

reset_dialogue_history()

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

Reset Dialogue History | Action ID: ResetDialogueHistory

Clear remembered read/use history for a dialogue, node or choice scope.

Source table from reset_dialogue_history(), page 99
Option key / fieldMeaning and accepted inputDefault
Dialogue dialogueIdChoose a Dialogue Designer ID. May be blank.Blank
Dialogue Node ID nodeIdChoose a node in that dialogue. May be blank. Custom values are accepted.Blank
Choice ID choiceIdChoose an option ID in that choice node. May be blank. 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
reset_dialogue_history({"dialogueId": "", "nodeId": "", "choiceId": ""})

In use. Reset one repeatable hint conversation during a new puzzle phase. Blank scopes can broaden the reset; select the narrowest scope you need so unrelated conversations do not suddenly become unread.

Page 99 of 357Permalink
Go to page