Table of Contents

Interface IForceGreet

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Makes an actor walk to the player and start a conversation, using the game's force-greet package.

public interface IForceGreet

Remarks

The actor is given package 0003877D (WIDeadBody01GuardForcegreetPlayer), and is given it again if the package ends more than 600 units from the player. An actor the player cannot talk to plays a greeting instead of opening a conversation. Call members on the game's thread.

Methods

StartAsync<TActor>(TActor, CancellationToken)

Makes actor walk to the player and start a conversation.

Task StartAsync<TActor>(TActor actor, CancellationToken cancellationToken = default) where TActor : IActor

Parameters

actor TActor

The actor that walks to the player.

cancellationToken CancellationToken

Stops the package from being given again.

Returns

Task

A task that completes when a conversation with the actor opens. It is canceled by cancellationToken, or when a save starts loading or a new game begins.

Type Parameters

TActor