IsStageDone - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Obtains whether the specified stage is done or not.


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


  • aiStage: The stage to check.

Return Value

Whether the passed-in stage is done or not.


; is stage 20 done in the main quest?
bool mainQuestStage20Done = MainQuestProperty.IsStageDone(20)

; Prints a debug message if the side quest has completed stage 10
if (SideQuestProperty.GetStageDone(10))
  Debug.Trace("The side quest has finished stage 10!")

See Also