enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "|= Game version" to "|Game version=")
Line 4: Line 4:
| arma2 |Game name=
| arma2 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:06, 31 August 2019

Hover & click on the images for description

Description

Description:
Enable / disable saving of the game.
When disabled, the autosave is created (if not forbidden by save == false).
Groups:
Uncategorised

Syntax

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

Alternative Syntax

Syntax:
enableSaving [enable, save]
Parameters:
[enable, save]: Array
enable: Boolean - allow manual saving
save: Boolean - create autosave
Return Value:
Nothing

Examples

Example 1:
enableSaving false; // Saving disabled and make autosave. enableSaving true; // Saving enabled without autosave. enableSaving [ false, false ]; // Saving disabled without autosave. enableSaving [ false, true ]; // Saving disabled and make autosave. enableSaving [ true, false ]; // Saving enabled without autosave. enableSaving [ true, true ]; // Saving enabled and make autosave.

Additional Information

See also:
loadGamesaveGamesavingEnabled

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section