{"name":"saveGame","title":"saveGame","type":"command","url":"https://community.bistudio.com/wiki/saveGame","revid":311106,"updated":"2022-05-10T14:30:26Z","groups":["Mission Information"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","description":"Autosaves the game (used for Retry). The saving is not started immediately, the request for autosave is made instead. To check the status of the request, use isSaving. The game can then be loaded from the last autosave with loadGame. Will not save if the player is null or dead.\n\n> [!NOTE]\n> **Arma 3:** Since Arma 3 v1.88 a `\"OnSaveGame\"` scripted event handler is available.","syntaxes":[{"syntax":"saveGame","params":[],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"nullary"}],"examples":[{"code":["saveGame;"]}],"see_also":["isSaving","enableSaving","loadGame","savingEnabled"]}