enableSaving: Difference between revisions
Jump to navigation
Jump to search
(syntax) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 62: | Line 62: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:07, 2 November 2011
Description
- Description:
- Enable / disable saving of the game. When disabled, the autosave is created (if not forbidden by save == false).
- Groups:
- Uncategorised
Syntax
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 without autosave.
Additional Information
- See also:
- See also needed
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