Skip to reading
The Dialogue Designer

B5. Remove a topic and reset history

Edition 0.86.3.4

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

Download PDFView PDF page
On this page

Removing a response does not require deleting its answer. Resetting history affects read status, not story flags.

Remove the lantern response#

Code example
extends PCAScriptBase
Code example
func run() -> void:
    await RemoveDialogueChoice({
        "dialogueId":"archive_chat", "nodeId":"topics",
        "choiceId":"ask_lantern"
    })

Clear this conversation’s read history#

Code example
extends PCAScriptBase
Code example
func run() -> void:
    await ResetDialogueHistory({"dialogueId":"archive_chat"})

For a narrower history reset, include nodeId and optionally choiceId. Leaving dialogueId empty resets all dialogue history.

Page 72 of 77Permalink
Go to page