Skip to reading
The Dialogue Designer

30. Reset history at the scope you intend

Edition 0.86.3.4

Build branching conversations with choices, conditions, actions, timed responses, voices, portraits and custom windows.

Download PDFView illustrations
Source table from 30. Reset history at the scope you intend, page 34
Reset scopeFields to supply
One responseDialogue ID + node ID + Choice ID.
One menu nodeDialogue ID + node ID; leave Choice ID empty.
One conversationDialogue ID only.
All dialogue historyLeave Dialogue ID empty. Narrower IDs are ignored.
Code example
await ResetDialogueHistory({
    "dialogueId":"archive_chat",
    "nodeId":"topics",
    "choiceId":"ask_clock"
})

Figure 21. After resetting read history, a response can become available again if no other rule blocks it.

Resetting history does not enable an explicitly disabled response and does not alter its visibility condition. If the key was already given, clearing dialogue history does not set archive_key_given back to false.

Use a narrow reset when the story only makes one topic relevant again. Clearing all history to fix a single response can make unrelated conversations look unread.

Page 34 of 77Permalink
Go to page