Table of Contents

Interface IUnvoicedSpeech

Namespace
SkyrimForge
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

Each line is shown for a duration based on its length. 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.

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

Parameters

speaker TSpeaker

The speaking actor.

lines IEnumerable<string>

The lines. With no lines, the call only interrupts.

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

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

The speaking actor.

Type Parameters

TSpeaker