GetCurrentStageID - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Obtains the highest completed stage in this quest.

Syntax

int Function GetCurrentStageID() native
int Function GetStage()

Parameters

None.

Return Value

The highest completed stage in this quest.

Examples

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


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

Notes

GetCurrentStageID & GetStage returns 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 GlobalVariable.

See Also