BIS fnc saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| tkoh |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|game2= arma3
|version2= 0.50


|gr1 = Missions |GROUP1=
|gr1= Missions


| Evaluates the current battlefield situation and saves the game when appropriate.|DESCRIPTION=
|descr= Evaluates the current battlefield situation and saves the game when appropriate.


| [objects] call [[BIS_fnc_saveGame]] |SYNTAX=
|s1= [objects] call [[BIS_fnc_saveGame]]


|p1= objects: [[Array]] - Units to check|PARAMETER1=
|p1= objects: [[Array]] - units to check


| [[Boolean]] - [[true]] if saved|RETURNVALUE=
|r1= [[Boolean]] - [[true]] if saved


|x1= <code>[ [unit_1,unit_2] ] [[call]] [[BIS_fnc_saveGame]];</code> |=
|x1= <sqf>[unit_1, unit_2] call BIS_fnc_saveGame;</sqf>


|[[saveGame]], [[loadGame]] |SEEALSO=
|seealso= [[saveGame]] [[loadGame]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[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