Skip to reading
The Dialogue Designer

32. Understand preselected response numbers

Edition 0.86.3.4

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

Download PDFView illustrations

Preselected response numbers refer to the option’s position in the authored Choice node. They do not renumber the underlying options after a condition hides one.

Source table from 32. Understand preselected response numbers, page 36
Authored optionVisible now?If preselected
1: Stop the trainDisabled or hiddenCannot be selected by the timer.
2: Give me another minuteAvailableCan be selected normally.
Unavailable target chosen as defaultNoThe runtime falls back to the first selectable response.

Figure 23. The built-in choice presentation shows a countdown while this test decision is waiting.

The editor shows numbers starting at 1. The stored timeoutChoiceIndex starts at 0. Use the displayed numbers in the UI; remember the zero-based value when editing raw data or a script.

Random and preselected policies exclude unavailable choices. If every response is unavailable, the branch ends instead of waiting for an impossible selection.

An accidental fallback can have story consequences. Test each timer with its intended default available, hidden, explicitly disabled and disabled by read history.

Page 36 of 77Permalink
Go to page