Skip to main content
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<Option>
List of available choices.
timer
Duration
default:"0s"
Auto-cancel timer (0s = infinite).
cancelTriggers
List<Ref<TriggerableEntry>>
Triggers to fire if the timer expires.

Styling

scale
Double
default:"1.0"
Size multiplier for the text.
billboard
Boolean
default:"true"
If true, text always rotates to face the player.
selectedOptionBackgroundColor
Color
default:"Gold"
Background color for the currently highlighted/hovered option.
unselectedOptionBackgroundColor
Color
default:"Dark Grey"
Background color for other options.

Option Definition

text
String
required
The text of the choice.
triggers
List<Ref<TriggerableEntry>>
Triggers to fire when this option is selected.
criteria
List<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"]