BIS fnc moduleSaveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr=Saves the game. Saving has to be enabled.
|descr=Saves the game. Saving has to be enabled.


|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= <code>[[call]] [[BIS_fnc_moduleSaveGame]];</code>
|x1= <sqf>call BIS_fnc_moduleSaveGame;</sqf>


|seealso= [[saveGame]], [[BIS_fnc_saveGame]]
|seealso= [[saveGame]] [[BIS_fnc_saveGame]]
}}
}}

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