BIS fnc saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Evaluates the current battlefield situation and saves the game when appropriate.|= Description
____________________________________________________________________________________________


Description:
| [objects] call [[BIS_fnc_saveGame]] |= Syntax
Evaluates the current battlefield situation and saves the game when appropriate
____________________________________________________________________________________________


Parameter(s):
|p1= objects: [[Array]] - Units to check|= Parameter 1
_this: units to check (ARRAY)
____________________________________________________________________________________________


Returns:
| [[Boolean]] - [[True]] if saved|= Return value
BOOL - true when saved
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= |= Parameter 1
|[[saveGame]], [[loadGame]] |= See also
}}


| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=
____________________________________________________________________________________________


| |= See also


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 15:18, 30 May 2018

Hover & click on the images for description

Description

Description:
Evaluates the current battlefield situation and saves the game when appropriate.
Execution:
call
Groups:
Uncategorised

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