BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" or...)
m (Fix typo)
 
(14 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  
|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]]
Line 23: 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>
 
|exec= call


|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
|seealso= [[BIN_fnc_savingEnabled]] [[saveGame]] [[loadGame]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:enableSaving}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:enableSaving}}]]

Latest revision as of 01: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