BIS fnc saveGame: Difference between revisions
Lou Montana (talk | contribs)  | 
				Lou Montana (talk | contribs)  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 23:45, 16 January 2021
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
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