Option Dialogue
The textdisplay_option entry presents the player with a list of choices rendered as floating text in the world. Players select options by looking/sneaking or clicking.
Configuration
text — String
The question or prompt text.
options
"> List of available choices.
timer — Duration
Auto-cancel timer (0s = infinite).
cancelTriggers
"> Triggers to fire if the timer expires.
Styling
scale — Double
Size multiplier for the text.
billboard — Boolean
If true, text always rotates to face the player.
selectedOptionBackgroundColor — Color
Background color for the currently highlighted/hovered option.
unselectedOptionBackgroundColor — Color
Background color for other options.
Option Definition
text — String
The text of the choice.
triggers
"> Triggers to fire when this option is selected.
criteria
"> Conditions for this option to be visible.
dialogue:
type: textdisplay_option
text: "Where to next?"
options:
- text: "To the Castle"
triggers: ["warp_castle"]
- text: "Stay here"
triggers: ["end_dialogue"]