Skip to reading
GDScript Programming & Godot

ResetDialogueHistory()

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

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

Source table from ResetDialogueHistory(), page 110
Option key / fieldMeaning and 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. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ResetDialogueHistory({"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 110 of 378Permalink
Go to page