Skip to reading
The Dialogue Designer

23. Reveal the archive question after the reward

Edition 0.86.3.4

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

Download PDFView illustrations

Give ask_archive the opposite condition: archive_key_given equals true. Before the loan, the menu shows the key request. After the loan, it shows the archive question instead.

Source table from 23. Reveal the archive question after the reward, page 27
Choice IDConditionDestination
ask_clockNoneclock_reply
ask_keyarchive_key_given equals falsegive_key
ask_archivearchive_key_given equals truearchive_reply
goodbyeNone; Always Allow Repeat onend

Figure 18. The key request is gone and the archive question is now available.

The Choice node evaluates availability when the menu is displayed. In this branch, the variable changes while the player is away from the menu, and the explicit return to topics displays the updated menu.

If a background system changes a variable while a menu is already open, do not assume the visible menu redraws merely because the variable changed. The dialogue-editing actions trigger a refresh; otherwise deliberately redisplay the menu at a suitable point.

Always keep an available way out. If every response is hidden or disabled, the runtime ends that branch because there is nothing the player can select.

Page 27 of 77Permalink
Go to page