saveGame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| ofp | |game1= ofp | ||
|1.00 | |version1= 1.00 | ||
|game2= arma1 | |||
|version2= 1.00 | |||
|game3= arma2 | |||
|version3= 1.00 | |||
|game4= arma2oa | |||
|version4= 1.51 | |||
|game5= tkoh | |||
|version5= 1.00 | |||
|game6= arma3 | |||
|version6= 0.50 | |||
|gr1= Mission Information | |gr1= Mission Information | ||
| 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. | |descr= 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. | ||
{{Feature | | {{Feature | arma3 | Since Arma 3 v1.88 a [[BIS_fnc_addScriptedEventHandler | scripted event handler]] [[Arma_3:_Event_Handlers/ScriptedEventHandlers#Events | <tt>"OnSaveGame"</tt>]] is available.}} | ||
| '''saveGame''' | |s1= '''saveGame''' | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[saveGame]];</code> | |x1= <code>[[saveGame]];</code> | ||
Line 18: | Line 38: | ||
|seealso= [[enableSaving]], [[loadGame]], [[savingEnabled]] | |seealso= [[enableSaving]], [[loadGame]], [[savingEnabled]] | ||
}} | }} | ||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[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 12:44, 8 March 2021
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:
- Mission Information
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Mission Information
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46