IsStageDone - Quest
(Redirected from GetStageDone - Quest)
Member of: Quest Script
Obtains whether the specified stage is done or not.
SyntaxEdit
bool Function IsStageDone(int aiStage) native
bool Function GetStageDone(int aiStage)
ParametersEdit
- aiStage: The stage to check.
Return ValueEdit
Whether the passed-in stage is done or not.
ExamplesEdit
; 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