GetCurrentStageID - Quest

(Redirected from GetStage - Quest)

Member of: Quest Script

Obtains the highest completed stage in this Quest.

SyntaxEdit

int Function GetCurrentStageID() native
int Function GetStage()

ParametersEdit

None.

Return ValueEdit

The highest completed stage in this Quest.

ExamplesEdit

; Obtains the current stage
int mainQuestStage = MainQuestProperty.GetCurrentStageID()


; Obtains the current stage
int sideQuestStage = SideQuestProperty.GetStage()

NotesEdit

The GetCurrentStageID & GetStage functions both return the highest Quest stage completed. When a Quest that allows repeated stages regresses stages, the actual lower current stage value will not be returned. Use a script counter or Global.

See AlsoEdit