Arma 3 Scripting

Command in Mission Information

enableSaving

Also available as Markdown and JSON, or read the original wiki page.

Description

Enable / disable saving of the game with an optional autosave.

Syntax

Syntax 1

enableSaving enable

Parameters:

Returns: Nothing

Syntax 2

enableSaving [enable, save]

Parameters:

Returns: Nothing

Examples

Example 1

enableSaving false;        // saving disabled, does autosave - same as [false, true]
enableSaving true;        // saving enabled, does not autosave - same as [true, false]

enableSaving [false, false];    // saving disabled, does not autosave
enableSaving [false, true];        // saving disabled, does autosave
enableSaving [true, false];        // saving enabled, doesn't autosave
enableSaving [true, true];        // saving enabled, does autosave

See also

loadGame · saveGame · savingEnabled · isSaving · BIS_fnc_enableSaving

Community notes

POLPOX

Also possible to disable Save and Exit button from pause menu and replaces it with Abort. (confirmed in Arma 3 2.12)