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?
Can I check if player has npc chat window on screen?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Can I check if player has npc chat window on screen?
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Can I check if player has npc chat window on screen?
Ofc you can use tutorial as chat window (done in the alternate class master).
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Re: Can I check if player has npc chat window on screen?
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
And how about checking if npc chat window is open? Being able to do that, would solve all beautifully
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Can I check if player has npc chat window on screen?
Easy - put camera behind the player.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Re: Can I check if player has npc chat window on screen?
_DS_ wrote:Easy - put camera behind the player.


And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD