---
name: "loadGame"
type: command
status: ok
groups: ["Mission Information"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/loadGame
revid: 353705
updated: 2024-03-21T18:23:51Z
---

# loadGame

*Command · Mission Information · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Loads game from the last autosave made with [saveGame](../commands/saveGame.md).
If no autosave exists, restarts the mission. When used in campaign it will also deduct 1 life, defined in:

```sqf
campaignConfigFile >> "Campaign" / "ChapterName" / "MissionName" / "lives"
```

> [!NOTE]
> A `"Loaded"` [mission event handler](../commands/addMissionEventHandler.md) is available;
> it is important that it is added in `preInit` in order for it to fire on load from save.

## Syntax

```sqf
loadGame
```

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
loadGame;
```

## See also

[enableSaving](../commands/enableSaving.md) · [saveGame](../commands/saveGame.md) · [savingEnabled](../commands/savingEnabled.md) · [isSaving](../commands/isSaving.md)

<sub>Source: [BI Community Wiki — loadGame](https://community.bistudio.com/wiki/loadGame) (revision 353705).</sub>
