SaveGame - Game

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE member of: Game Script


Saves the game as the specified name.

Syntax

Function SaveGame(string name) native global

Parameters

name

The name you wish to save the game under.


Examples

SaveGame("TestSave") ;Saves the game with the name TestSave


Notes

  • This function is similar to RequestSave() except it also allows for a custom name for the save.
  • Saves cannot be made while the player is in a menu, if you wish to trigger this from within a menu you will have to use Wait() to pause script execution until the player has left the menu otherwise this function will not work.


See Also