Community Forum

Find out if the "help window" is active

Forum Overview >> Scripting

CategoryScripting
Created15.04.2012 12:43


Thomas G. (gotchTOM) 15.04.2012 12:47
Hello,

i want to render a text on the site of the "help window".
It should be possible only if the help window is disabled.
So I need a variable that I can insert into a condition... like this for example:
if self.isHelpWindowActive then
renderText...
end;

Is there a boolean that is true if the help window is active and false if not?


thanks in advance



Tobias F (JD6930) 15.04.2012 21:59
g_currentMission.showHelpText

;)

Cheers

Thomas G. (gotchTOM) 16.04.2012 18:31
oh, that's right must be a global one ;)

*gg* self.isHelpWindowActive... *gg*



Many thanks, Tobias!




Note: Log in to post. Create a new account here.