isMissionProfileNamespaceLoaded: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix seeAlso)
No edit summary
Line 12: Line 12:
|branch= dev
|branch= dev


|descr= Description
|descr= 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.


|gr1= Variables
|gr1= Variables
Line 18: Line 18:
|s1= [[isMissionProfileNamespaceLoaded]]
|s1= [[isMissionProfileNamespaceLoaded]]


|r1= [[Boolean]] - description
|r1= [[Boolean]] - [[true]] if mission profile variables file exists and is loaded.


|x1= <sqf>private _isLoaded = isMissionProfileNamespaceLoaded;</sqf>
|x1= <sqf>private _isLoaded = isMissionProfileNamespaceLoaded;</sqf>

Revision as of 13:49, 18 March 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.10.

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:
Variables

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