BIS fnc saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| tkoh |Game name=
| tkoh |Game name=
Line 7: Line 6:


|gr1 = Missions |GROUP1=
|gr1 = Missions |GROUP1=
____________________________________________________________________________________________


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


| [objects] call [[BIS_fnc_saveGame]] |SYNTAX=
| [objects] call [[BIS_fnc_saveGame]] |SYNTAX=
____________________________________________________________________________________________


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


| [[Boolean]] - [[true]] if saved|RETURNVALUE=
| [[Boolean]] - [[true]] if saved|RETURNVALUE=
____________________________________________________________________________________________


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


|[[saveGame]], [[loadGame]] |SEEALSO=
|[[saveGame]], [[loadGame]] |SEEALSO=

Revision as of 00:45, 17 January 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



Notes

Bottom Section