BIS fnc saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Missions
____________________________________________________________________________________________


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


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


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


Returns:
|r1= [[Boolean]] - [[true]] if saved
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= <sqf>[unit_1, unit_2] call BIS_fnc_saveGame;</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[saveGame]] [[loadGame]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:saveGame}}]]
[[Category:Functions|{{uc:saveGame}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:saveGame}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:saveGame}}]]

Latest revision as of 15:52, 8 November 2023

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:
saveGame loadGame

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