isMissionProfileNamespaceLoaded: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\|branch= *dev " to "")
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
|serverExec=
|serverExec=


|branch= dev


|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.  
|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= Namespaces
|gr2= Variables


|s1= [[isMissionProfileNamespaceLoaded]]
|s1= [[isMissionProfileNamespaceLoaded]]

Latest revision as of 13:23, 23 August 2022

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