loadGame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{uc:{{PAGENAME}}}}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Mission Information | |gr1= Mission Information | ||
| Loads game from the last autosave made with [[saveGame]]. If no autosave exists, restarts the mission. When used in campaign it will also deduct 1 life, defined in: | |descr= Loads game from the last autosave made with [[saveGame]]. | ||
< | If no autosave exists, restarts the mission. When used in campaign it will also deduct 1 life, defined in: | ||
{{Feature | | <sqf>campaignConfigFile >> "Campaign" / "ChapterName" / "MissionName" / "lives"</sqf> | ||
{{Feature|informative| | |||
A {{hl|[[Arma 3: Mission Event Handlers#Loaded|"Loaded"]]}} [[addMissionEventHandler|mission event handler]] is available; | |||
it is important that it is added in {{hl|preInit}} in order for it to fire on load from save. | |||
}} | |||
| | |s1= [[loadGame]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>loadGame;</sqf> | ||
|seealso= [[enableSaving]] | |seealso= [[enableSaving]] [[saveGame]] [[savingEnabled]] [[isSaving]] | ||
}} | }} | ||
Latest revision as of 19:23, 21 March 2024
Description
- Description:
- Loads game from the last autosave made with saveGame.
If no autosave exists, restarts the mission. When used in campaign it will also deduct 1 life, defined in:
- Groups:
- Mission Information
Syntax
Examples
- Example 1:
- loadGame;
Additional Information
- See also:
- enableSaving saveGame savingEnabled isSaving
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