enableSaving: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Mission Information | |gr1= Mission Information | ||
| Enable / disable saving of the game with an optional autosave. | | Enable / disable saving of the game with an optional autosave. | ||
| [[enableSaving]] enable | | [[enableSaving]] enable | ||
|p1= enable: [[Boolean]] | |p1= enable: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= [[enableSaving]] [enable, save] | |s2= [[enableSaving]] [enable, save] | ||
|p21= enable: [[Boolean]] - allow manual saving |PARAMETER21= | |p21= enable: [[Boolean]] - allow manual saving |PARAMETER21= | ||
Line 22: | Line 22: | ||
|p22= save: [[Boolean]] - create an autosave on command execution |PARAMETER22= | |p22= save: [[Boolean]] - create an autosave on command execution |PARAMETER22= | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <code>[[enableSaving]] [[false]]; {{cc|saving disabled, does autosave - same as [<nowiki/>[[false]], [[true]]]}} | |x1= <code>[[enableSaving]] [[false]]; {{cc|saving disabled, does autosave - same as [<nowiki/>[[false]], [[true]]]}} | ||
Line 31: | Line 31: | ||
[[enableSaving]] [<nowiki/>[[true]], [[false]]]; {{cc|saving enabled, doesn't autosave}} | [[enableSaving]] [<nowiki/>[[true]], [[false]]]; {{cc|saving enabled, doesn't autosave}} | ||
[[enableSaving]] [<nowiki/>[[true]], [[true]]]; {{cc|saving enabled, does autosave}} | [[enableSaving]] [<nowiki/>[[true]], [[true]]]; {{cc|saving enabled, does autosave}} | ||
</code> | </code> | ||
| [[loadGame]], [[saveGame]], [[savingEnabled]] | | [[loadGame]], [[saveGame]], [[savingEnabled]] | ||
}} | }} | ||
Revision as of 00:38, 18 January 2021
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