isMissionProfileNamespaceLoaded: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Text replacement - "\|branch= *dev " to "") |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
|serverExec= | |serverExec= | ||
|descr= | |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]] | ||
|r1= [[Boolean]] - | |r1= [[Boolean]] - [[true]] if mission profile variables file exists and is loaded. | ||
|x1= <sqf>private _isLoaded = isMissionProfileNamespaceLoaded;</sqf> | |x1= <sqf>private _isLoaded = isMissionProfileNamespaceLoaded;</sqf> | ||
|seealso= [[ | |seealso= [[missionProfileNamespace]] [[saveMissionProfileNamespace]] | ||
}} | }} |
Latest revision as of 13:23, 23 August 2022
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:
Additional Information
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