BIS fnc moduleSaveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(10 intermediate revisions by the same user 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>


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

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