---
name: "isMissionProfileNamespaceLoaded"
type: command
status: ok
groups: ["Namespaces", "Variables"]
arma3_since: "2.10"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isMissionProfileNamespaceLoaded
revid: 330167
updated: 2022-08-23T12:23:59Z
---

# isMissionProfileNamespaceLoaded

*Command · Namespaces, Variables · Arma 3 v2.10*

## Description

The [missionProfileNamespace](../commands/missionProfileNamespace.md) variables are loaded at the start of a mission, before 'init.sqf' is executed. If the file with saved variables for current mission exists in user profile and is loaded, the command returns [true](../commands/true.md). It also will return [true](../commands/true.md) after the first execution of [saveMissionProfileNamespace](../commands/saveMissionProfileNamespace.md) command, which also creates the file.

## Syntax

```sqf
isMissionProfileNamespaceLoaded
```

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if mission profile variables file exists and is loaded.

## Examples

### Example 1

```sqf
private _isLoaded = isMissionProfileNamespaceLoaded;
```

## See also

[missionProfileNamespace](../commands/missionProfileNamespace.md) · [saveMissionProfileNamespace](../commands/saveMissionProfileNamespace.md)

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