Also possible to disable Save and Exit button from pause menu and replaces it with Abort. (confirmed in Arma 3 2.12)
Description
Enable / disable saving of the game with an optional autosave.
Syntax
Syntax 1
enableSaving enable
Parameters:
enable: Boolean
Returns: Nothing
Syntax 2
enableSaving [enable, save]
Parameters:
enable: Boolean - allow saveGame command usage and manual savingsave: Boolean - create an autosave on command execution
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