IsStageDone - Quest

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

Obtains whether the specified stage is done or not.

Syntax[edit | edit source]

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

Parameters[edit | edit source]

  • aiStage: The stage to check.

Return Value[edit | edit source]

Whether the passed-in stage is done or not.

Examples[edit | edit source]

; 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!")
endIf

See Also[edit | edit source]