saveGame: Difference between revisions
Jump to navigation
Jump to search
(formatting example, added see also) |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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]] | ||
[[Category:Scripting Commands ArmA|SAVEGAME]] | [[Category:Scripting Commands ArmA|SAVEGAME]] | ||
[[Category:Command_Group:_Mission_Information|SAVEGAME]] | [[Category:Command_Group:_Mission_Information|SAVEGAME]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:28, 6 April 2020
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 Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters