Editing SetStage

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 12: Line 12:
*If this is the first stage of the quest to be added to the Pip-Boy, the player will receive a "Quest Added" message on screen. Β 
*If this is the first stage of the quest to be added to the Pip-Boy, the player will receive a "Quest Added" message on screen. Β 


*SetStage has no effect if called with a StageIndex that doesn't exist in the specified quest.
*SetStage has no effect if called with a Stage number that doesn't exist in the specified quest.


*When called as part of the quest activated by the "New Game" menu option (CG00 in ''Fallout 3'', VCG00 in ''Fallout: New Vegas'') SetStage automatically exits the player from the Main Menu, transitioning them from [[MenuMode]] to [[GameMode]].
*When called as part of the quest activated by the "New Game" menu option (CG00 in ''Fallout 3'', VCG00 in ''Fallout: New Vegas'') SetStage automatically exits the player from the Main Menu, transitioning them from [[MenuMode]] to [[GameMode]].


*The stage result script will be processed 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. Unlike [[Activate]], it seems that any number of recursive SetStages are allowed (at least 250, tested from the same quest, are possible).
*The stage result script will be processed 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. Unlike [[Activate]], it seems that any number of recursive SetStages are allowed (at least 250, tested from the same quest, are possible).


=='''See Also'''==
=='''See Also'''==

Please note that all contributions to the Fallout3 GECK Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see GECK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)