Interface IForceGreet
- Namespace
- SkyrimForge.Dialogue
- 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 the package again if it ends away 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
actorTActorcancellationTokenCancellationToken
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