BIS fnc moduleSaveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Modules
|gr1= Modules


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


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


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


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


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


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


|x1= <code>[[call]] [[BIS_fnc_moduleSaveGame]];</code>
|x1= <sqf>call BIS_fnc_moduleSaveGame;</sqf>


| [[saveGame]], [[BIS_fnc_saveGame]]
|seealso= [[saveGame]] [[BIS_fnc_saveGame]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:moduleSaveGame}}]]

Latest revision as of 15: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