enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 17: Line 17:
|s2= [[enableSaving]] [enable, save]
|s2= [[enableSaving]] [enable, save]


|p21= enable: [[Boolean]] - allow manual saving |PARAMETER21=
|p21= enable: [[Boolean]] - allow manual saving


|p22= save: [[Boolean]] - create an autosave on command execution |PARAMETER22=
|p22= save: [[Boolean]] - create an autosave on command execution


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 18:11, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Mission Information

Syntax

Syntax:
Syntax needed
Parameters:
enable: Boolean
Return Value:
Return value needed

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:
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