uiNamespace: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) (example) |
||
Line 23: | Line 23: | ||
|x1= <code>[[uiNamespace]] [[setVariable]] ["LIB_interruptDisplay", _display];</code>|= EXAMPLE1 | |x1= <code>[[uiNamespace]] [[setVariable]] ["LIB_interruptDisplay", _display];</code>|= EXAMPLE1 | ||
| | |x2= <code>[[uiNamespace]] [[setVariable]] ["myVar", 46]; | ||
[[with]] [[uiNamespace]] [[do]] { | [[with]] [[uiNamespace]] [[do]] { | ||
[[hint]] [[str]] myVar; //46 | [[hint]] [[str]] myVar; //46 | ||
}; | }; | ||
</code>|= | </code>|= EXAMPLE2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 21:02, 12 April 2014
Description
- Description:
- Return the global namespace attached to user interface.
- Groups:
- Uncategorised
Syntax
- Syntax:
- uiNamespace
- Return Value:
- Namespace
Examples
- Example 1:
uiNamespace setVariable ["LIB_interruptDisplay", _display];
- Example 2:
uiNamespace setVariable ["myVar", 46]; with uiNamespace do { hint str myVar; //46 };
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
Notes
- GossamerSolid
- variables in uiNamespace are not lost between mission changes, they are carried over. Also take note that the server can make use of uiNamespace.