enableSaving: Difference between revisions
Jump to navigation
Jump to search
(Reverted incorrect change.) |
(syntax) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Enable / disable saving of the game. When disabled,the autosave is created (if not forbidden by save == false). |= Description | | Enable / disable saving of the game. | ||
When disabled, the autosave is created (if not forbidden by save <nowiki>==</nowiki> false). |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''enableSaving''' enable | | '''enableSaving''' enable |= Syntax | ||
|p1= [ | |p1= enable: [[Boolean]] - |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= |= PARAMETER2 | ||
Line 18: | Line 20: | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| Nothing |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
____________________________________________________________________________________________ | |||
|s2= '''enableSaving''' [enable, save] |= | |||
|p21= [enable, save]: [[Array]] |= | |||
|p22= enable: [[Boolean]] - allow manual saving |= | |||
|p23= save: [[Boolean]] - create autosave |= | |||
|r2= [[Nothing]] |= | |||
|x1= <pre> | |x1= <pre> |
Revision as of 20:41, 19 September 2010
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