BIS fnc moduleSaveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )W([a-z])" to "$1w$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
|s1= [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


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


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

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