Candy Logo Copyright © 2025-2026 Candy Arts

Choices
Dialogues can offer the player choices: a menu of answers, questions to ask an NPC, items to buy, a decision under time pressure... A Choice_List command displays a menu of choices and pauses the Dialogue until the player picks one, or until a timer runs out. Each choice leads somewhere: a Block of the Dialogue, a sub-conversation that returns to the menu, or the end of the Dialogue. While the menu is open, other Lines can modify its choices and timers, and your code is informed of every pick. Choice Menus A menu is built from three kinds of scenes, nested inside each other: one for the menu, one for each category of choices and one for each button. Candy Dialogue Engine ships a default version of each; how to design your own, and their settings, is explained in Choice Menus (UI section). Pages
PageCovers
Basic MenusWriting a menu: its categories and choices, and the effect of picking a choice.
Advanced MenusSeveral categories, conditional choices, Setup Blocks, scenes per level, nested menus, mouse modes and tags.
TimersCountdowns that pick a choice or run a Block when they expire.
Modifying Open MenusChanging the choices and timers of a menu while it's open.
Reacting to ChoicesHook functions, events of your own, and suspension.
Choice Commands
CommandPurpose
Choice_ListDisplay a menu and wait for a pick or a timer.
Choice_StatusEnable, activate, show or relabel the choices of an open menu.
Timer_StatusStart, pause, stop or change the timers of an open menu.