BIS fnc enableSaving: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Missions
|gr1= Missions
Line 9: Line 8:
|descr= Controls the enabling of saving. Will only enable saving if there are no remaining requests for disabled saving.
|descr= Controls the enabling of saving. Will only enable saving if there are no remaining requests for disabled saving.


|s1= id call [[BIS_fnc_enableSaving]]
|s1= id call [[BIS_fnc_enableSaving]]


|p1= id: [[String]] - Unique id previously used to disable saving via [[BIS_fnc_disableSaving]]
|p1= id: [[String]] - unique id previously used to disable saving via [[BIS_fnc_disableSaving]]


|r1=[[Boolean]] - [[true]] if successful, [[false]] if not
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not


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


|seealso= [[BIS_fnc_disableSaving]], [[saveGame]], [[BIS_fnc_saveGame]], [[loadGame]]
|seealso= [[BIS_fnc_disableSaving]] [[saveGame]] [[BIS_fnc_saveGame]] [[loadGame]]
}}
}}

Latest revision as of 15:52, 8 November 2023

Hover & click on the images for description

Description

Description:
Controls the enabling of saving. Will only enable saving if there are no remaining requests for disabled saving.
Execution:
call
Groups:
Missions

Syntax

Syntax:
id call BIS_fnc_enableSaving
Parameters:
id: String - unique id previously used to disable saving via BIS_fnc_disableSaving
Return Value:
Boolean - true if successful, false if not

Examples

Example 1:
"savingID" call BIS_fnc_enableSaving;

Additional Information

See also:
BIS_fnc_disableSaving 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