BIS fnc saveGame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | | tkoh | ||
|1.00 | |1.00 | ||
|gr1 = Missions | |gr1 = Missions | ||
| Evaluates the current battlefield situation and saves the game when appropriate. | | Evaluates the current battlefield situation and saves the game when appropriate. | ||
| [objects] call [[BIS_fnc_saveGame]] | | [objects] call [[BIS_fnc_saveGame]] | ||
|p1= objects: [[Array]] - Units to check | |p1= objects: [[Array]] - Units to check | ||
| [[Boolean]] - [[true]] if saved | | [[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> | ||
|[[saveGame]], [[loadGame]] | |[[saveGame]], [[loadGame]] | ||
}} | }} | ||
Revision as of 23:44, 17 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