Save.game: Difference between revisions
From Sierra WikiNew
Jump to navigationJump to search
m (1 revision imported) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 00:14, 3 June 2024
The save.game command saves the game to a file.
Syntax
save.game();
Remarks
Saving a game writes all the information about the current game state to a file so it can be restored later with the restore.game command.
See the Saving Games topic for more information.
Possible Errors
None.
Example
Code:
if(said("save", "game"))
{
save.game();
}
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 125 (0x7D hex) |