BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{placeholder}} |Description=" to "{{placeholder}} {{Feature arma3contact|This function is part of the Arma 3 Contact expansion only.}} |Description=")
m (page filled)
Line 1: Line 1:
{{Function|Comments=
{{{Function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3


|1.94|Game version=
|version1= 1.94
____________________________________________________________________________________________


| ''N/A''<br>{{placeholder}}
<!--|serverExec= server-->
{{Feature arma3contact|This function is part of the [[Arma 3 Contact]] expansion only.}} |Description=
____________________________________________________________________________________________


| <!-- [] call [[BIN_fnc_enableSaving]]; --> |Syntax=
<!--|arg= local-->


|p1= |Parameter 1=
<!--|eff= local-->


| |Return value=
|descr= Sets a variable used in [[Arma 3 Contact]] which handels saving. {{Feature arma3contact|This function is part of the [[Arma 3 Contact]] expansion only.}}
____________________________________________________________________________________________


|x1= <code></code> |Example 1=
|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]
____________________________________________________________________________________________


| |See also=
|p1= enableSaving: [[Boolean]] - (Optional, default [[true]]) [[True]] to enable, [[false]] to disable
}}
 
|p2= saveGame: [[Boolean]] - (Optional, default [[false]]) [[True]] to save, [[false]] to not disable
 
|r1= [[Nothing]]
 
|x1= <code>[[[true]],[[true]]] [[call]] [[BIN_fnc_enableSaving]];</code>
 
|exec= call


<h3 style="display:none">Notes</h3>
|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
}}
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 13:15, 22 July 2020

{

Hover & click on the images for description

Description

Description:
Sets a variable used in Arma 3 Contact which handels saving. Template:Feature arma3contact
Execution:
call
Groups:
Uncategorised

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

Bottom Section