Background for Skyrim SE
Member of the Game script
voidfunctionSaveGame(stringname)NativeGlobal

Description

Wiki Description

Saves the game as the specified name.

Documentation Comment

save/load game


Caveats

CK Wiki - Notes

  • This function is similar to Game.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 Utility.Wait(...) to pause script execution until the player has left the menu otherwise this function will not work.

Parameters

stringname


Examples

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

Auto-Generated Example

string myString__name

Game.SaveGame(myString__name)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.