BIS fnc moduleSaveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Modules
____________________________________________________________________________________________


|Saves the game. Saving has to be enabled.|Description=
|descr=Saves the game. Saving has to be enabled.
____________________________________________________________________________________________


| [nil,nil,activated] call [[BIS_fnc_moduleSaveGame]] |Syntax=
|s1= [nil,nil,activated] call [[BIS_fnc_moduleSaveGame]]


|p1= nil: [[Nothing]] - Not used |Parameter 1=
|p1= nil: [[Nothing]] - not used


|p2= nil: [[Nothing]] - Not used |Parameter 2=
|p2= nil: [[Nothing]] - not used


|p3= activated: [[Boolean]] - (Optional, default [[true]]) When [[true]] game will be saved |Parameter 3=
|p3= activated: [[Boolean]] - (Optional, default [[true]]) when [[true]] game will be saved


| [[Boolean]] - Always [[true]] |Return value=
|r1= [[Boolean]] - always [[true]]


____________________________________________________________________________________________
|x1= <sqf>call BIS_fnc_moduleSaveGame;</sqf>


|x1= <code>[[call]] [[BIS_fnc_moduleSaveGame]];</code>|Example 1=
|seealso= [[saveGame]] [[BIS_fnc_saveGame]]
 
____________________________________________________________________________________________
 
| [[saveGame]], [[BIS_fnc_saveGame]] |See also=
}}
}}
<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: Events|{{uc:moduleSaveGame}}]]
[[Category:Functions|{{uc:moduleSaveGame}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moduleSaveGame}}]]

Latest revision as of 16:40, 8 November 2023

Hover & click on the images for description

Description

Description:
Saves the game. Saving has to be enabled.
Execution:
call
Groups:
Modules

Syntax

Syntax:
[nil,nil,activated] call BIS_fnc_moduleSaveGame
Parameters:
nil: Nothing - not used
nil: Nothing - not used
activated: Boolean - (Optional, default true) when true game will be saved
Return Value:
Boolean - always true

Examples

Example 1:
call BIS_fnc_moduleSaveGame;

Additional Information

See also:
saveGame BIS_fnc_saveGame

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