Ulysses
General => Developers Corner => Topic started by: jakej78b on November 11, 2014, 10:26:10 PM
-
Only if it is open. Possible? How?
-
What do you mean?
-
This is in the developer's corner for a reason. Pretty sure Jake is developing an addon or something similar and wants to know if he can close the XGUI using Lua.
-
just typing the cvar xgui into console closes it so that could work
-
You can just call xgui.hide(), it should hide it if it's open. Alternatively, you can call RunConsoleCommand( "xgui", "hide" ), which should do the same thing.