Перейти к основному содержимому

UI Spoken Dialogue

A line someone says, typed out letter by letter in the dialogue frame. The player reads it and presses the confirmation key to move on.

Unlike ui_option, a spoken line does not hold the player in place. It is drawn lightly, over whatever is happening, which leaves the camera free to follow the speaker.

Configuration

FieldWhat it does
textThe line. Supports placeholders.
durationHow long the typing takes. Zero shows the line at once.
styleThe ui_dialogue_style it takes. Leave empty for the server's own.
portraitPicture drawn beside the speaker's name, for instance portrait_aldric.
soundPlayed once as the line appears.

Pressing the confirmation key while the line is still typing completes it rather than skipping past it: the key means "I have read this", and an unread line must not be lost to an early press.

[!NOTE] Every optional field may be left empty. A field absent from a page arrives as nothing at all, whatever its declared default — so a dialogue that omits sound, duration or portrait renders normally rather than failing.