BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: Contact)
m (Fix typo)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.94


| arma3 |= Game name
|gr1= Missions


|1.00|= Game version
<!--|serverExec= server-->
____________________________________________________________________________________________


| ''N/A'' |= Description
|descr= Sets a variable used in [[Arma 3 Contact]] which handles saving. {{Feature|arma3contact}}
____________________________________________________________________________________________


| <!-- [] call [[BIN_fnc_enableSaving]]; --> |= Syntax
|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]


|p1= |= Parameter 1
|p1= enableSaving: [[Boolean]] - (Optional, default [[true]]) [[true]] to enable, [[false]] to disable


| |= Return value
|p2= saveGame: [[Boolean]] - (Optional, default [[false]]) [[true]] to save, [[false]] to not disable
____________________________________________________________________________________________


|x1= <code></code> |=
|r1= [[Nothing]]
____________________________________________________________________________________________


| |= See also
|x1= <sqf>[true, true] call BIN_fnc_enableSaving;</sqf>


|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:enableSaving}}]]
[[Category:Functions|{{uc:enableSaving}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:enableSaving}}]]

Latest revision as of 00:03, 29 April 2023

Hover & click on the images for description

Description

Description:
Sets a variable used in Arma 3 Contact which handles saving.
enoch icon ca.png
This content is exclusive to the Arma 3 Contact Expansion.
Execution:
call
Groups:
Missions

Syntax

Syntax:
[enableSaving, saveGame] call BIN_fnc_enableSaving
Parameters:
enableSaving: Boolean - (Optional, default true) true to enable, false to disable
saveGame: Boolean - (Optional, default false) true to save, false to not disable
Return Value:
Nothing

Examples

Example 1:
[true, true] call BIN_fnc_enableSaving;

Additional Information

See also:
BIN_fnc_savingEnabled saveGame loadGame

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