BIS fnc saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fixed example was incorrect)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
Line 13: Line 13:
|s1= [objects] call [[BIS_fnc_saveGame]]
|s1= [objects] call [[BIS_fnc_saveGame]]


|p1= objects: [[Array]] - Units to check
|p1= objects: [[Array]] - units to check


|r1= [[Boolean]] - [[true]] if saved
|r1= [[Boolean]] - [[true]] if saved

Latest revision as of 16:52, 8 November 2023

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