enableSaving: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Add DescriptioN.ext - saving seeAlso link) |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Mission Information | |gr1= Mission Information | ||
| Enable / disable saving of the game with an optional autosave. | |descr= Enable / disable saving of the game with an optional autosave. | ||
| [[enableSaving]] enable | |s1= [[enableSaving]] enable | ||
|p1= enable: [[Boolean]] | |p1= enable: [[Boolean]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|s2= [[enableSaving]] [enable, save] | |s2= [[enableSaving]] [enable, save] | ||
|p21= enable: [[Boolean]] - allow manual saving | |p21= enable: [[Boolean]] - allow [[saveGame]] command usage and manual saving | ||
|p22= save: [[Boolean]] - create an autosave on command execution | |p22= save: [[Boolean]] - create an autosave on command execution | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
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 | |||
</ | </sqf> | ||
| [[loadGame]] | |seealso= [[loadGame]] [[saveGame]] [[savingEnabled]] [[isSaving]] [[BIS_fnc_enableSaving]] {{Link|Description.ext#saving}} | ||
}} | }} | ||
{{Note | |||
|user= POLPOX | |||
{{ | |timestamp= 20230102114855 | ||
|text= Also possible to disable Save and Exit button from pause menu and replaces it with Abort. (confirmed in Arma 3 2.12) | |||
}} | |||
Latest revision as of 00:04, 29 April 2023
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 saveGame command usage and 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, 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
Additional Information
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
- Posted on Jan 02, 2023 - 11:48 (UTC)
- Also possible to disable Save and Exit button from pause menu and replaces it with Abort. (confirmed in Arma 3 2.12)