Difference between revisions of "SetStage"
Jump to navigation
Jump to search
removed an unneccessary 'the'
imported>JOG (Layout, see also, minor editing) |
imported>Entim (removed an unneccessary 'the') |
||
Line 13: | Line 13: | ||
*If the quest is not currently running, SetStage will automatically start it. | *If the quest is not currently running, SetStage will automatically start it. | ||
*Always remember that Setstage only accepts stages that are defined in the quest's "Quest Stages" tab. When you try to set a quest stage that isn't defined, | *Always remember that Setstage only accepts stages that are defined in the quest's "Quest Stages" tab. When you try to set a quest stage that isn't defined, the stage-index doesn't change at all. | ||
*The stage result script will be proccessed immediately after the SetStage call. The main script containing the SetStage call will be halted until the result script is finished. It is even possible to use the SetStage command inside a stage result script. In this case the new stage result script will run in place of the SetStage command and the old stage result script will continue after the new one has finished. | *The stage result script will be proccessed immediately after the SetStage call. The main script containing the SetStage call will be halted until the result script is finished. It is even possible to use the SetStage command inside a stage result script. In this case the new stage result script will run in place of the SetStage command and the old stage result script will continue after the new one has finished. |