Table of Contents

Interface IUnvoicedSpeech

Namespace
SkyrimForge.Dialogue
Assembly
SkyrimForge.dll

Shows dialogue lines that have no voice recording as subtitles under the speaker, with a timed mouth animation.

public interface IUnvoicedSpeech

Remarks

Outside a conversation, the speaker is given zzzDEFAULTzzzWaitForDialogue while speaking, so it stops and faces the player. Call members on the game's thread.

Methods

SayAsync<TSpeaker>(TSpeaker, params IEnumerable<string>)

Shows lines in order under speaker, interrupting any lines the speaker is already saying. With no lines, the call only interrupts.

Task SayAsync<TSpeaker>(TSpeaker speaker, params IEnumerable<string> lines) where TSpeaker : IActor

Parameters

speaker TSpeaker
lines IEnumerable<string>

Returns

Task

A task that completes when the last line is removed. It is canceled if the lines are interrupted: by another call for the speaker, by Stop<TSpeaker>(TSpeaker), or when a save starts loading or a new game begins.

Type Parameters

TSpeaker

Remarks

Each line is shown for 0.045 seconds per character, from 2 to 12 total seconds.

Exceptions

ArgumentNullException

lines is null.

Stop<TSpeaker>(TSpeaker)

Interrupts the lines of speaker and removes them from the screen.

void Stop<TSpeaker>(TSpeaker speaker) where TSpeaker : IActor

Parameters

speaker TSpeaker

Type Parameters

TSpeaker