uiNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:
private ["_display"];
private ["_display"];
_display = _this select 0;
_display = _this select 0;
uiNamespace setVariable ["LIB_interruptDisplay", _display];</pre>|= EXAMPLE1  
uiNamespace [[setVariable]] ["LIB_interruptDisplay", _display];</pre>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]], [[parsingNamespace]], [[missionNamespace]], [[with]] |= SEEALSO  
| [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]], [[parsingNamespace]], [[parsingNamespace]], [[missionNamespace]], [[with]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 23:32, 10 April 2014

Hover & click on the images for description

Description

Description:
Return the global namespace attached to user interface.
Groups:
Uncategorised

Syntax

Syntax:
uiNamespace
Return Value:
Namespace

Examples

Example 1:
//from ca\missions\armory\Data\Scripts\pauseonload.sqf
private ["_display"];
_display = _this select 0;
uiNamespace [[setVariable]] ["LIB_interruptDisplay", _display];

Additional Information

See also:
Forward CompatibilityparsingNamespaceparsingNamespacemissionNamespacewith

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.

Bottom Section