{"name":"uiNamespace","operator":null,"title":"uiNamespace","type":"command","url":"https://community.bistudio.com/wiki/uiNamespace","revid":353040,"updated":"2024-03-12T11:58:15Z","groups":["Namespaces","Variables","GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the global namespace attached to user interface.","syntaxes":[{"syntax":"uiNamespace","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Namespace","types":["Namespace"],"description":null,"text":"Namespace"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nuiNamespace setVariable [\"LIB_interruptDisplay\", _display];\n```","code":["uiNamespace setVariable [\"LIB_interruptDisplay\", _display];"]},{"text":"```sqf\nuiNamespace setVariable [\"myVar\", 46];\nwith uiNamespace do\n{\n    hint str myVar; // 46\n};\n```","code":["uiNamespace setVariable [\"myVar\", 46];\nwith uiNamespace do\n{\n\thint str myVar; // 46\n};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["missionNamespace","currentNamespace","parsingNamespace","profileNamespace","localNamespace","allVariables","with","do","ArmA: Editing"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control","Command Group: Namespaces","Command Group: Variables","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}