BIS fnc saveGame: 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>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 17: Line 17:
|r1= [[Boolean]] - [[true]] if saved
|r1= [[Boolean]] - [[true]] if saved


|x1= <code>[ [unit_1,unit_2] ] [[call]] [[BIS_fnc_saveGame]];</code>
|x1= <code>[ [unit_1,unit_2] ] call [[BIS_fnc_saveGame]];</code>


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

Revision as of 22:37, 12 July 2022

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:
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