SaveGameSlot (int slot, string description)
Saves the current game position to the save game number specified by SLOT,
using DESCRIPTION as the textual description of the save position.
Be careful using this function, because you could overwrite one of the
player's save slots if you aren't careful.
The SaveGameDialog function uses slots numbered from 1 to 20, so if you
don't want to interfere with the player's saves, I would recommend saving
to slot numbers of 100 and above.
NOTE: The game will not be saved immediately; instead, it will be
saved when the script function finishes executing.
Example:
SaveGameSlot(30, "save game");
will save the current game position to slot 30 with the description "Save game".
See Also: DeleteSaveSlot, RestoreGameSlot, SaveGameDialog
|