saveGame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z0-9]+))?\]\]" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|game1= ofp | |game1= ofp | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= | |game2= ofpe | ||
|version2= 1.00 | |version2= 1.00 | ||
|game3= | |game3= arma1 | ||
|version3= 1.00 | |version3= 1.00 | ||
|game4= | |game4= arma2 | ||
|version4= 1.00 | |||
|version4= 1. | |||
|version5= 1. | |game5= arma2oa | ||
|version5= 1.50 | |||
|game6= | |game6= tkoh | ||
|version6= 1.00 | |||
| | |game7= arma3 | ||
|version7= 0.50 | |||
|gr1= Mission Information | |gr1= Mission Information | ||
|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. | |descr= Autosaves the game (used for Retry). The saving is not started immediately, the request for autosave is made instead. To check the status of the request, use [[isSaving]]. The game can then be loaded from the last autosave with [[loadGame]]. Will not save if the player is [[objNull | null]] or dead. | ||
{{Feature | arma3 | Since | {{Feature|arma3|Since {{GVI|arma3|1.88}} a {{hl|[[Arma 3: Scripted Event Handlers#Events | "OnSaveGame"]]}} [[BIS_fnc_addScriptedEventHandler | scripted event handler]] is available.}} | ||
|s1= | |s1= [[saveGame]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>saveGame;</sqf> | ||
|seealso= [[enableSaving]] | |seealso= [[isSaving]] [[enableSaving]] [[loadGame]] [[savingEnabled]] | ||
}} | }} |
Latest revision as of 15:30, 10 May 2022
Description
- Description:
- Autosaves the game (used for Retry). The saving is not started immediately, the request for autosave is made instead. To check the status of the request, use isSaving. 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
Examples
- Example 1:
- saveGame;
Additional Information
- See also:
- isSaving enableSaving loadGame savingEnabled
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
- Operation Flashpoint: Elite: 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