Mod:Creation Kit/IsStageDone - Quest

Member of: Mod:Creation Kit/Quest Script

Obtains whether the specified stage is done or not.

Syntax
bool Function IsStageDone(int aiStage) native bool Function GetStageDone(int aiStage)

Parameters

 * aiStage: The stage to check.

Return Value
Whether the passed-in stage is done or not.

Examples
bool mainQuestStage20Done = MainQuestProperty.IsStageDone(20) if (SideQuestProperty.GetStageDone(10)) Debug.Trace("The side quest has finished stage 10!") endIf
 * is stage 20 done in the main quest?
 * Prints a debug message if the side quest has completed stage 10