saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 103925 by Revo (talk) it works for hosted MP)
(some info)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Autosave game (used for Retry). |= Description
| Autosaves the game (used for Retry). The game can then be loaded from the last autosave with [[loadGame]]. Will not save is the player is [[objNull | null]] or dead.<br><br>
{{Informative | Since Arma 3 v1.87.145159 a [[BIS_fnc_addScriptedEventHandler | scripted event handler]] [[Arma_3:_Event_Handlers/ScriptedEventHandlers#Events | <tt>"OnSaveGame"</tt>]] is available}}  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:53, 27 October 2018

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 is the player is null or dead.

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

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