Arma 3 Scripting

isMissionProfileNamespaceLoaded

  • Arma 3 v2.10

Command · also in Variables · Markdown · JSON · original wiki page

Description

The missionProfileNamespace 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. It also will return true after the first execution of saveMissionProfileNamespace command, which also creates the file.

Syntax

isMissionProfileNamespaceLoaded

Returns: Boolean - true if mission profile variables file exists and is loaded.

Examples

Example 1

private _isLoaded = isMissionProfileNamespaceLoaded;

See also

missionProfileNamespace · saveMissionProfileNamespace