Page 1 of 1

Can I check if player has npc chat window on screen?

Posted: Mon Nov 08, 2010 3:12 am
by Szponiasty
what I want to do is to make on char login, show few npc chat windows, one after another, but next is displayer after player closes current npc chat. So player enters, sees "clan notice" window. Closes it, and "servernews.htm" shows up. Closes it... and so on.

To do that, I would want to get - from his client, is chat window showed (at the moment) or not. Is it possible to get that information? Or maybe someone has an idea how to make it? Maybe there are some packets eg for Tutorial Window instead, if its possible to use Tutorial window same as npc chat window?

Re: Can I check if player has npc chat window on screen?

Posted: Mon Nov 08, 2010 6:52 am
by _DS_
Ofc you can use tutorial as chat window (done in the alternate class master).

Re: Can I check if player has npc chat window on screen?

Posted: Mon Nov 08, 2010 8:41 am
by Szponiasty
Thats an workaround of some kind. Thanks.

And how about checking if npc chat window is open? Being able to do that, would solve all beautifully

Re: Can I check if player has npc chat window on screen?

Posted: Mon Nov 08, 2010 10:26 am
by _DS_
Easy - put camera behind the player.

Re: Can I check if player has npc chat window on screen?

Posted: Mon Nov 08, 2010 11:42 pm
by Szponiasty
_DS_ wrote:Easy - put camera behind the player.
:D Guess I'll just put inside window a button with boobs or sth. Should be strong enough argument to click it :)