isMissionProfileNamespaceLoaded

From Bohemia Interactive Community
Revision as of 13:23, 23 August 2022 by Lou Montana (talk | contribs) (Text replacement - "\|branch= *dev " to "")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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.
Groups:
NamespacesVariables

Syntax

Syntax:
isMissionProfileNamespaceLoaded
Return Value:
Boolean - true if mission profile variables file exists and is loaded.

Examples

Example 1:
private _isLoaded = isMissionProfileNamespaceLoaded;

Additional Information

See also:
missionProfileNamespace saveMissionProfileNamespace

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