is it possible to check if the player has opened the console?
the window in my mod gets stuck behind the console when the console is opened so I need to close the indow when that is the case
checking if console is opened
Re: checking if console is opened
Code: Select all
if (!WindowConsole(MyConsole).Root.ActiveWindow.IsA('MyWindowClass'))
{
MyWindow.Close();
OpenMyWindow();
}
- Feralidragon
- Godlike
- Posts: 5493
- Joined: Wed Feb 27, 2008 6:24 pm
- Personal rank: Work In Progress
- Location: Liandri
Re: checking if console is opened
anth posted "pseudo-code", you should replace "MyConsole" by the console instance you want to get, "MyWindowClass" for the window you want, etc...Rakiayn wrote:I get the error: bad or missing expression after !
Re: checking if console is opened
I want to check if the console is opened.
but I dont know what I should replace it width
but I dont know what I should replace it width