saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= System |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 35: Line 37:
[[Category:Scripting Commands OFP 1.46|SAVEGAME]]
[[Category:Scripting Commands OFP 1.46|SAVEGAME]]
[[Category:Scripting Commands Armed Assault|SAVEGAME]]
[[Category:Scripting Commands Armed Assault|SAVEGAME]]
[[Category:Command_Group:_System|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 16:53, 18 September 2020

Hover & click on the images for description

Description

Description:
Autosaves the game (used for Retry). The game can then be loaded from the last autosave with loadGame. Will not save if the player is null or dead.

Since Arma 3 v1.87.145159 a scripted event handler "OnSaveGame" is available
Groups:
System

Syntax

Syntax:
saveGame
Return Value:
Nothing

Examples

Example 1:
saveGame;

Additional Information

See also:
enableSavingloadGamesavingEnabled

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

Notes

Bottom Section