loadGame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 9: Line 9:
| 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>
| 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" / &lt;battle&gt; / &lt;mission&gt; / "lives"</tt><br><br>
<tt>[[campaignConfigFile]] / "Campaign" / &lt;battle&gt; / &lt;mission&gt; / "lives"</tt><br><br>
{{Informative | A [[addMissionEventHandler | mission event handler]] [[Arma_3:_Event_Handlers/addMissionEventHandler#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}}
{{Feature | Informative | A [[addMissionEventHandler | mission event handler]] [[Arma_3:_Event_Handlers/addMissionEventHandler#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}}


| '''loadGame'''
| '''loadGame'''

Revision as of 01:10, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Mission Information

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
loadGame;

Additional Information

See also:
See also needed

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