Aller au contenu principal

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

textString

The question or prompt text.

options

"> List of available choices.

timerDuration

Auto-cancel timer (0s = infinite).

cancelTriggers

"> Triggers to fire if the timer expires.

Styling

scaleDouble

Size multiplier for the text.

billboardBoolean

If true, text always rotates to face the player.

selectedOptionBackgroundColorColor

Background color for the currently highlighted/hovered option.

unselectedOptionBackgroundColorColor

Background color for other options.

Option Definition

textString

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"]