Interface IFollowers
- Namespace
- SkyrimForge.World
- Assembly
- SkyrimForge.dll
Sets and dismisses the player's follower and animal through the game's DialogueFollower quest (000750BA).
public interface IFollowers
Remarks
The player has at most one follower and one animal. The game's follow, wait, and dismissal dialogue appears only for voice types that have those lines. Call members on the game's thread.
Properties
Animal
The actor in the Animal alias, or null if the alias is empty or its actor is dead or deleted.
Actor? Animal { get; }
Property Value
Exceptions
- InvalidOperationException
The quest has no Animal alias.
Follower
The actor in the Follower alias, or null if the alias is empty or its actor is dead or deleted.
Actor? Follower { get; }
Property Value
Exceptions
- InvalidOperationException
The quest has no Follower alias.
Methods
DismissAnimalAsync()
Dismisses the animal and shows the game's dismissal message. Does nothing if Animal is null.
Task DismissAnimalAsync()
Returns
DismissFollowerAsync()
Dismisses the follower, shows the game's dismissal message, and has the follower say its dismissal line. Does nothing if Follower is null.
Task DismissFollowerAsync()
Returns
SetAnimalAsync<TActor>(TActor)
Makes actor the animal, a player teammate in the Animal alias that does no favors and has Lockpicking 0.
Task SetAnimalAsync<TActor>(TActor actor) where TActor : IActor
Parameters
actorTActor
Returns
Type Parameters
TActor
Exceptions
- InvalidOperationException
Animal is another actor. The exception is stored in the returned task.
SetFollowerAsync<TActor>(TActor)
Makes actor the follower, a player teammate in the Follower alias.
Task SetFollowerAsync<TActor>(TActor actor) where TActor : IActor
Parameters
actorTActor
Returns
Type Parameters
TActor
Exceptions
- InvalidOperationException
Follower is another actor. The exception is stored in the returned task.