BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Fix typo)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
<!--|serverExec= server-->
<!--|serverExec= server-->


|descr= Sets a variable used in [[Arma 3 Contact]] which handels saving. {{Feature|arma3contact}}
|descr= Sets a variable used in [[Arma 3 Contact]] which handles saving. {{Feature|arma3contact}}


|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]
|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code><nowiki>[</nowiki>[[true]],[[true]]] [[call]] [[BIN_fnc_enableSaving]];</code>
|x1= <sqf>[true, true] call BIN_fnc_enableSaving;</sqf>


|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
}}
}}

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