BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Fix typo)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.94


|version1= 1.94
|gr1= Missions


<!--|serverExec= server-->
<!--|serverExec= server-->


<!--|arg= local-->
|descr= Sets a variable used in [[Arma 3 Contact]] which handles saving. {{Feature|arma3contact}}
 
<!--|eff= local-->
 
|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.}}


|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]
|s1= [enableSaving, saveGame] call [[BIN_fnc_enableSaving]]


|p1= enableSaving: [[Boolean]] - (Optional, default [[true]]) [[True]] to enable, [[false]] to disable
|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
|p2= saveGame: [[Boolean]] - (Optional, default [[false]]) [[true]] to save, [[false]] to not disable


|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
}}
}}
<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