RequestSave - Game

From the CreationKit Wiki
Revision as of 12:55, 16 December 2012 by imported>Taleden (added a note that it doesn't work while a menu is open)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Requests a normal save to be made. Note that the save may take a moment or so to happen, and will not work while in a game menu such as the inventory screen. If you need to trigger it from within a menu, add Utility.Wait(0.1) to pause your script until the player closes all menus (since Utility.Wait() does not count menu time).

Syntax

Function RequestSave() native global

Parameters

None.

Return Value

None.

Examples

; Requests a save
Game.RequestSave()

See Also