isMissionProfileNamespaceLoaded: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix seeAlso) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
|branch= dev | |branch= dev | ||
|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= Variables | ||
Line 18: | Line 18: | ||
|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> |
Revision as of 13:49, 18 March 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:
- Variables
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