enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= Mission Information |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 53: Line 55:
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_System|{{uc:{{PAGENAME}}}}]]

Revision as of 10:03, 19 September 2020

Hover & click on the images for description

Description

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

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

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