Mod:Creation Kit/SetCurrentStageID - Quest

Member of: Mod:Creation Kit/Quest Script

Attempts to set the quest's current stage. If the stage exists, and was successfully set, the function returns true. Otherwise, the function returns false and the stage is unchanged. Is latent and will wait for the quest to start if it has to start the quest. If the stage has any fragments attached to it, the function will also wait for those fragments to finish running before returning.

Parameters

 * aiStageID/aiStage: The stage index to set.

Return Value
True, if the stage is successfully set, false if it is not.