Difference between revisions of "QuitToMainMenu - Game"
Jump to navigation
Jump to search
imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Game Script Force the game back to the main menu. == Syntax == <source lang="papyrus"> Function QuitToMainMenu(…') |
imported>DavidJCobb (added Notes section) |
||
Line 21: | Line 21: | ||
Game.QuitToMainMenu() | Game.QuitToMainMenu() | ||
</source> | </source> | ||
== Notes == | |||
* Calling this function doesn't terminate your script. Your code will continue to run while the game fades out to the main menu. | |||
* This function doesn't appear to clean up script engine state properly. Refer to [[Talk:QuitToMainMenu - Game|the talk page]] for information. | |||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] |
Latest revision as of 01:45, 4 April 2017
Member of: Game Script
Force the game back to the main menu.
Syntax[edit | edit source]
Function QuitToMainMenu() native global
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Force the game back to the main menu
Game.QuitToMainMenu()
Notes[edit | edit source]
- Calling this function doesn't terminate your script. Your code will continue to run while the game fades out to the main menu.
- This function doesn't appear to clean up script engine state properly. Refer to the talk page for information.