BIN fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:\{\{Name\|arma3\}\}: Functions\|\{\{uc:[a-z A-Z]*\}\}\]\]" to "")
m (Fix typo)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:


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


Line 9: 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 19: 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]]
}}
}}

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