BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " --> |= Syntax" to " --> |Syntax=")
m (Fix typo)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.94


|1.94|Game version=
|gr1= Missions
____________________________________________________________________________________________


| ''N/A''<br>{{placeholder}} |Description=
<!--|serverExec= server-->
____________________________________________________________________________________________


| <!-- [] call [[BIN_fnc_enableSaving]]; --> |Syntax=
|descr= Sets a variable used in [[Arma 3 Contact]] which handles saving. {{Feature|arma3contact}}


|p1= |Parameter 1=
|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]


| |Return value=
|p1= enableSaving: [[Boolean]] - (Optional, default [[true]]) [[true]] to enable, [[false]] to disable
____________________________________________________________________________________________


|x1= <code></code> |Example 1=
|p2= saveGame: [[Boolean]] - (Optional, default [[false]]) [[true]] to save, [[false]] to not disable
____________________________________________________________________________________________


| |See also=
|r1= [[Nothing]]
}}


<h3 style="display:none">Notes</h3>
|x1= <sqf>[true, true] call BIN_fnc_enableSaving;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
</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