loadGame: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2") |
Lou Montana (talk | contribs) m (Text replacement - "[[Arma_3:_Event_Handlers/addMissionEventHandler" to "[[Arma 3: Mission Event Handlers") |
||
Line 16: | Line 16: | ||
|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:<br> | |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:<br> | ||
<tt>[[campaignConfigFile]] / "Campaign" / <battle> / <mission> / "lives"</tt>{{Feature | Informative | A [[addMissionEventHandler | mission event handler]] [[ | <tt>[[campaignConfigFile]] / "Campaign" / <battle> / <mission> / "lives"</tt>{{Feature | Informative | A [[addMissionEventHandler | mission event handler]] [[Arma 3: Mission Event Handlers#Loaded | <tt>"Loaded"</tt>]] is available and is important that it is added in <tt>preInit</tt> in order for it to fire on load from save}} | ||
|s1= '''loadGame''' | |s1= '''loadGame''' |
Revision as of 10:35, 16 June 2021
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:
campaignConfigFile / "Campaign" / <battle> / <mission> / "lives" - Groups:
- Mission Information
Syntax
- Syntax:
- loadGame
- Return Value:
- Nothing
Examples
- Example 1:
loadGame;
Additional Information
- See also:
- enableSavingsaveGamesavingEnabled
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