enableSaving

From Bohemia Interactive Community
Revision as of 07:47, 13 July 2020 by R3vo (talk | contribs) (added system category)
Jump to navigation Jump to search
Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

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

Syntax

Syntax:
enableSaving enable
Parameters:
enable: Boolean
Return Value:
Nothing

Alternative Syntax

Syntax:
enableSaving [enable, save]
Parameters:
enable: Boolean - allow manual saving
save: Boolean - create an autosave on command execution
Return Value:
Nothing

Examples

Example 1:
enableSaving false; /* saving disabled, does autosave - same as [false, true] */ enableSaving true; /* saving enabled, doesn't autosave - same as [true, false] */ enableSaving [false, false]; // saving disabled, doesn't autosave enableSaving [false, true]; // saving disabled, does autosave enableSaving [true, false]; // saving enabled, doesn't autosave enableSaving [true, true]; // saving enabled, does autosave

Additional Information

See also:
loadGamesaveGamesavingEnabled
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section

[[Category:Command_Group:_System|

Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

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

Syntax

Syntax:
enableSaving enable
Parameters:
enable: Boolean
Return Value:
Nothing

Alternative Syntax

Syntax:
enableSaving [enable, save]
Parameters:
enable: Boolean - allow manual saving
save: Boolean - create an autosave on command execution
Return Value:
Nothing

Examples

Example 1:
enableSaving false; /* saving disabled, does autosave - same as [false, true] */ enableSaving true; /* saving enabled, doesn't autosave - same as [true, false] */ enableSaving [false, false]; // saving disabled, doesn't autosave enableSaving [false, true]; // saving disabled, does autosave enableSaving [true, false]; // saving enabled, doesn't autosave enableSaving [true, true]; // saving enabled, does autosave

Additional Information

See also:
loadGamesaveGamesavingEnabled
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section

[[Category:Command_Group:_System|Template loop detected: enableSaving]]]]