Skip to content

Add Choice ​

Category: Message

Event content that adds a single choice to the selection window. Used to present choices to the player such as "Yes / No" or "Which path to take".

Use in pair with Show Selection Window

This event content alone displays nothing on screen. It merely adds 1 choice internally.

To actually show the selection window on screen, after lining up as many Add Choices as needed, run Show Selection Window.

Typical usage:

  1. Add Choice (choice 1)
  2. Add Choice (choice 2)
  3. Add Choice (choice 3)
  4. Show Selection Window <- the selection window appears on screen only here

Property List ​

Item (tscn label)Input typeDescription
TextTextString displayed as a choice (special notation supported)
EventSelectionEvent to transition to when this choice is selected (chosen from events/*.json, empty allowed)
LabelTextLabel name within the destination event (if empty, executes from the beginning of the event)
Text Help button-Open the special notation reference window

Property Details ​

Text ​

The string displayed as a choice on screen.

  • Special notation supported: Variable expansion ({var}), name expansion ({@char.MEM_0}), line break ([LF]), color change, and other special notations are available
  • Translation target: When localizing in the Translation tab, it is automatically extracted as a translation key
  • Added 2026-10-01: Formula reference expansion and smart_number formatting also apply (unified with Show Text)

Examples: Yes, No, Attack, Escape

Event ​

Specify the event to transition to when this choice is selected.

  • Options: automatically enumerated from all .json filenames in data/settings/events/
  • Empty allowed: if no event is specified, continues within the current event (proceeds to the next event content)

Event transition behavior

When Event is specified, after selection, processing equivalent to "Move To Event" is performed. The destination event starts a new flow.

When Event is empty, after selection, processing continues within the current event (typically combined with Conditional Branch to write different processing for each selection result).

Label ​

Specify the label name within the destination event.

  • Empty: executes from the beginning of the destination event
  • Value specified: starts execution from the label defined by Set Label within the destination event

Example: Specifying the label shop_arrived means execution starts from Set Label (shop_arrived) within the destination event.

Label is meaningless when Event is empty

When Event is empty, no transition occurs even if Label is specified, so the Label specification is meaningless.

Text Help button ​

Pressing the button opens the special notation reference window. For details, see Text Special Notation Reference.

Runtime Behavior ​

When this event content runs, processing happens in the following order:

1. Formula reference expansion (added 2026-10-01) ​

Formula references within the text (such as USER.STR.MAX) are expanded to actual values. Furthermore, via smart_number processing, numbers with 0 after the decimal point (100.0) are displayed as integers like "100". This is the same processing as Show Text.

2. Addition to the choice list ​

  1. Internal choice list (choice_data) gets 1 entry added
    • text (post-expansion display text)
    • event (destination event key)
    • label (destination label)
  2. Nothing changes on screen
  3. Automatically proceeds to the next event content (no wait)

When subsequent Show Selection Window runs, all choices added up to that point are displayed on screen as a selection window. Buttons within the selection window are lined up in insertion order, and keyboard focus next/previous is also set automatically.

Maximum number of choices ​

There is practically no upper limit on the number of choices, but it depends on screen size and selection window size. Too many will not fit on screen, so typically 2-5 is recommended.

Typical Usage Flows ​

Flow 1: Yes / No 2-choice ​

  1. Show Text (number 0) <- "Do you really want to fight?"
  2. Add Choice (text Yes, event battle_scene)
  3. Add Choice (text No, event empty) <- continues within the current event
  4. Show Selection Window (the choices appear on screen only here)
  5. (When "No" is selected, comes here) Show Text <- "Escaped"

Flow 2: 3-choice menu ​

  1. Show Window (number 0)
  2. Show Text (number 0) <- "Which path will you take?"
  3. Add Choice (text East Forest, event east_forest)
  4. Add Choice (text West Town, event west_town)
  5. Add Choice (text South Mountain, event south_mountain)
  6. Show Selection Window

Flow 3: Jump to different places in the same event with Label ​

When there are multiple labels in a composite event main_hall:

  1. Add Choice (text Inn, event main_hall, label inn)
  2. Add Choice (text Weapon Shop, event main_hall, label weapon_shop)
  3. Add Choice (text Item Shop, event main_hall, label item_shop)
  4. Show Selection Window

By placing Set Label (inn) / Set Label (weapon_shop) / Set Label (item_shop) within the destination event main_hall, execution starts from the matching label according to the selection.

Flow 4: Combination with Conditional Branch ​

Leave Event empty and manage selection results with variables:

  1. Add Choice (text Attack, event empty)
  2. Add Choice (text Defend, event empty)
  3. Show Selection Window (selection result is internally stored in a variable)
  4. Conditional Branch (selection result is 0 = Attack was chosen) <- attack processing
  5. End If
  6. Conditional Branch (selection result is 1 = Defend was chosen) <- defend processing
  7. End If

Flow 5: Dynamic choices using variables ​

  1. Add Choice (text Buy with {gold} G in hand, event buy)

Since variable expansion is available in the text, dynamic display is possible.

Typical Combinations ​

This event content is always used in pair with Show Selection Window. By itself, nothing is displayed on the screen. For the big picture, see Combination Pattern Collection.

Basic 2-choice pattern (Yes/No) ​

Question -> Add Choice x 2 -> Show Selection Window -> Transition.

  1. Show Window (number 0)
  2. Show Text (number 0) <- "Do you really want to fight?"
  3. Add Choice (this event content) (text Yes, event battle_scene)
  4. Add Choice (this event content) (text No, event empty)
  5. Show Selection Window <- the choices appear on screen here
  6. (Transitions according to selection result)

Branching on selection result (empty Event + Conditional Branch) ​

Leave Event empty and write processing for each selection result within the same event:

  1. Add Choice (this event content) (text Attack, event empty)
  2. Add Choice (this event content) (text Defend, event empty)
  3. Show Selection Window
  4. Conditional Branch (selection result 0 = Attack) <- attack processing
  5. Else <- defend processing
  6. End If

Label jump to different places in the same event ​

For composite events (such as town facility selection), transition to each label within the same event:

  1. Add Choice (this event content) (text Inn, event main_hall, label inn)
  2. Add Choice (this event content) (text Weapon Shop, event main_hall, label weapon)
  3. Show Selection Window
  4. (After selection, executes from the matching label within main_hall)

Choice reset ​

To temporarily clear already-added choices and use a different choice set, use Reset Choices.

Related event contentPurpose
Show Selection WindowDisplay the added choices on screen (always used in pair)
Reset ChoicesClear already-added choices
Show TextDisplay the question text before the choices
Set LabelDefine a label within the destination event
Move To EventEvent transition without using choices
Conditional BranchBranch processing based on selection result
PageRelated content
Text Special Notation ReferenceSpecial notations usable within text
Event tabReference for the Event property
Variable tabFor {variable name} expansion within choice text
Event Content ListList of all event contents

Notes ​

Add Choice alone does not display on screen ​

This event content only adds to the internal choice list, and nothing changes on screen. Always run Show Selection Window afterward to display the selection window on screen.

Choice order is insertion order ​

The order of choices displayed on screen follows the order in which this event content was added. To change the order, swap the order of Add Choices.

When Event is empty, handle with Conditional Branch ​

When Event is empty, after selection processing continues within the current event. In this case, you need to determine which choice was selected with a subsequent Conditional Branch and branch processing accordingly (the selection result is internally stored in a variable).

Resetting choices ​

When using choices in different scenes within the same event, use Reset Choices to clear the internal list so previous choices don't remain, then line up new Add Choices.

Number of choices depends on screen size ​

If there are too many choices, the selection window will not fit on screen. Typically 2-5 is recommended.

Text special notation and translation ​

Choice text can be localized in the Translation tab. For details, see Translation tab.