Table of Contents

Interface IQuestSceneEvents

Namespace
SkyrimForge.Quests
Assembly
SkyrimForge.dll

The events of one scene or of every scene of a quest.

public interface IQuestSceneEvents

Properties

OnActionEnd

Raised on the game's thread as an action of a scene ends, when the game reports it complete or as the phase it ends in ends, whichever is first.

IGameEvent<QuestSceneActionEndEventArgs> OnActionEnd { get; }

Property Value

IGameEvent<QuestSceneActionEndEventArgs>

Remarks

A scene that ends with Completed raises it for each action still running, before OnPhaseEnd. A scene that ends otherwise raises it for none of them.

OnBegin

Raised on the game's thread in the first frame a scene plays, including each repeat and a resume after a load.

IGameEvent<QuestSceneBeginEventArgs> OnBegin { get; }

Property Value

IGameEvent<QuestSceneBeginEventArgs>

Remarks

A scene that ends before it plays raises OnEnd alone.

OnEnd

Raised on the game's thread once a scene ends.

IGameEvent<QuestSceneEndEventArgs> OnEnd { get; }

Property Value

IGameEvent<QuestSceneEndEventArgs>

OnLineBegin

Raised once on the game's thread as an actor begins to say a SceneLine of a scene, however many responses the line has.

IGameEvent<QuestSceneLineEventArgs> OnLineBegin { get; }

Property Value

IGameEvent<QuestSceneLineEventArgs>

OnLineEnd

Raised on the game's thread as an actor finishes saying a SceneLine of a scene.

IGameEvent<QuestSceneLineEventArgs> OnLineEnd { get; }

Property Value

IGameEvent<QuestSceneLineEventArgs>

Remarks

A line still being said when its scene ends raises none.

OnPhaseBegin

Raised on the game's thread as each phase of a scene begins, including the phase at which a scene resumes after a load.

IGameEvent<QuestScenePhaseEventArgs> OnPhaseBegin { get; }

Property Value

IGameEvent<QuestScenePhaseEventArgs>

OnPhaseEnd

Raised on the game's thread as a phase ends.

IGameEvent<QuestScenePhaseEventArgs> OnPhaseEnd { get; }

Property Value

IGameEvent<QuestScenePhaseEventArgs>

Remarks

A scene that ends other than with Completed raises it for no unfinished phase.