Difference between revisions of "SetStage"

531 bytes added ,  22:12, 6 May 2006
no edit summary
imported>JOG
m
imported>JustTim
Line 12: Line 12:


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 the Stageindex doesn't change at all.  
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 the Stageindex 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.
It is NOT possible to define variables inside a stage result script! It will compile, but they'll always be 0.
   
   


[[Category: Functions]]
[[Category: Functions]]
[[Category: Quest Functions]]
[[Category: Quest Functions]]
Anonymous user