Skip to reading
The Dialogue Designer

A1. Archive record: lines 1-44

Edition 0.86.3.4

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

Download PDFView PDF page

Continue the same JSON object. These blocks are consecutive; they are not separate records.

Code example
{
  "id": "archive_chat",
  "name": "Elias - The Locked Archive",
  "start": "greeting",
  "nodes": {
    "greeting": {
      "id": "greeting",
      "type": "line",
      "speakerId": "elias",
      "portraitId": "",
      "text": "The archive is locked, Ivo. Ask me what you need.",
      "returnToPrevious": false,
      "next": "topics",
      "x": 40,
      "y": 40
    },
    "topics": {
      "id": "topics",
      "type": "choice",
      "timeoutSeconds": 0,
      "timeoutAction": "end",
      "timeoutChoiceIndex": 0,
      "choiceListStyle": "plain",
      "options": [
        {
          "id": "ask_clock",
          "text": "What is wrong with the clock?",
          "next": "clock_reply",
          "enabled": true,
          "repeatable": false
        },
        {
          "id": "ask_key",
          "text": "May I borrow the archive key?",
          "next": "give_key",
          "enabled": true,
          "repeatable": false,
          "condition": {
            "variable": "archive_key_given",
            "equals": false
          }
        },
        {
          "id": "ask_archive",

Continue directly with the next block.

Page 65 of 77Permalink
Go to page