Skip to reading
The Dialogue Designer

A2. Archive record: lines 45-88

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
          "text": "What should I look for in the archive?",
          "next": "archive_reply",
          "enabled": true,
          "repeatable": false,
          "condition": {
            "variable": "archive_key_given",
            "equals": true
          }
        },
        {
          "id": "goodbye",
          "text": "I will get back to work.",
          "next": "end",
          "enabled": true,
          "repeatable": true
        }
      ],
      "x": 520,
      "y": 40
    },
    "clock_reply": {
      "id": "clock_reply",
      "type": "line",
      "speakerId": "elias",
      "portraitId": "",
      "text": "The brass wheel is missing. We need it before the bell will ring.",
      "returnToPrevious": true,
      "next": "",
      "x": 1520,
      "y": 40
    },
    "give_key": {
      "id": "give_key",
      "type": "action",
      "action": {
        "type": "AddInventory",
        "itemId": "archive_key",
        "count": 1
      },
      "next": "mark_key",
      "returnToPrevious": false,
      "x": 1000,
      "y": 700
    },

Continue directly with the next block.

Page 66 of 77Permalink
Go to page