saveGame: Difference between revisions
Jump to navigation
Jump to search
(formatting example, added see also) |
m (template:command argument fix) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''saveGame''' |= | | '''saveGame''' |SYNTAX= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[saveGame]];</code> |= | |x1= <code>[[saveGame]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableSaving]], [[loadGame]], [[savingEnabled]] |= | | [[enableSaving]], [[loadGame]], [[savingEnabled]] |SEEALSO= | ||
}} | }} | ||
Line 30: | Line 31: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|SAVEGAME]] | [[Category:Scripting Commands|SAVEGAME]] | ||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|SAVEGAME]] | [[Category:Scripting Commands OFP 1.96|SAVEGAME]] | ||
[[Category:Scripting Commands OFP 1.46|SAVEGAME]] | [[Category:Scripting Commands OFP 1.46|SAVEGAME]] |
Revision as of 14:46, 7 April 2019
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.
- 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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Mission Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters