BIS fnc disableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>")
Line 14: Line 14:
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not


|x1= <code>"savingID" [[call]] [[BIS_fnc_disableSaving]];</code>
|x1= <sqf>"savingID" call BIS_fnc_disableSaving;</sqf>


|seealso= [[BIS_fnc_enableSaving]] [[saveGame]] [[BIS_fnc_saveGame]] [[loadGame]]
|seealso= [[BIS_fnc_enableSaving]] [[saveGame]] [[BIS_fnc_saveGame]] [[loadGame]]
}}
}}

Revision as of 14:24, 1 July 2022

Hover & click on the images for description

Description

Description:
Controls the disabling of saving, stacking each request to prevent saving being enabled too early.
Execution:
call
Groups:
Missions

Syntax

Syntax:
id call BIS_fnc_disableSaving
Parameters:
id: String - Unique id to be used with BIS_fnc_enableSaving
Return Value:
Boolean - true if successful, false if not

Examples

Example 1:
"savingID" call BIS_fnc_disableSaving;

Additional Information

See also:
BIS_fnc_enableSaving saveGame BIS_fnc_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