saveGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (typo)
m (template:command argument fix)
Line 8: Line 8:


| 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 [[objNull | null]] or dead.<br><br>
| 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 [[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
{{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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''saveGame''' |= Syntax
| '''saveGame''' |SYNTAX=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


|x1= <code>[[saveGame]];</code> |=Example 1
|x1= <code>[[saveGame]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[enableSaving]], [[loadGame]], [[savingEnabled]] |= See also
| [[enableSaving]], [[loadGame]], [[savingEnabled]] |SEEALSO=


}}
}}

Revision as of 15:46, 7 April 2019

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:
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