BIS fnc saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 9: Line 9:
|gr1= Missions
|gr1= Missions


| Evaluates the current battlefield situation and saves the game when appropriate.
|descr= Evaluates the current battlefield situation and saves the game when appropriate.


|s1=[objects] call [[BIS_fnc_saveGame]]
|s1=[objects] call [[BIS_fnc_saveGame]]

Revision as of 21:54, 13 June 2021

Hover & click on the images for description

Description

Description:
Evaluates the current battlefield situation and saves the game when appropriate.
Execution:
call
Groups:
Missions

Syntax

Syntax:
[objects] call BIS_fnc_saveGame
Parameters:
objects: Array - Units to check
Return Value:
Boolean - true if saved

Examples

Example 1:
[ [unit_1,unit_2] ] call BIS_fnc_saveGame;

Additional Information

See also:
saveGameloadGame

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