BIS fnc saveGame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
|descr= Evaluates the current battlefield situation and saves the game when appropriate. | |descr= Evaluates the current battlefield situation and saves the game when appropriate. | ||
|s1=[objects] call [[BIS_fnc_saveGame]] | |s1= [objects] call [[BIS_fnc_saveGame]] | ||
|p1= objects: [[Array]] - | |p1= objects: [[Array]] - units to check | ||
|r1= [[Boolean]] - [[true]] if saved | |r1= [[Boolean]] - [[true]] if saved | ||
|x1= <sqf> | |x1= <sqf>[unit_1, unit_2] call BIS_fnc_saveGame;</sqf> | ||
|seealso= [[saveGame]] [[loadGame]] | |seealso= [[saveGame]] [[loadGame]] | ||
}} | }} |
Latest revision as of 15:52, 8 November 2023
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:
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