loadGame

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

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"

A mission event handler "Loaded" is available and is important that it is added in preInit in order for it to fire on load from save

Syntax

Syntax:
loadGame
Return Value:
Nothing

Examples

Example 1:
loadGame;

Additional Information

Multiplayer:
-
See also:
enableSavingsaveGamesavingEnabled

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section