year87games Posted July 22, 2017 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 03/01/12 Last Seen: July 18, 2017 Share Posted July 22, 2017 Hi, Is there anyway to check if a mes or message/dialogue box is open? I would like to pause one of the scripts I'm running if the player talks to an NPC. Thank You. Quote Link to comment Share on other sites More sharing options...
0 Z3R0 Posted July 22, 2017 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 618 Reputation: 201 Joined: 11/09/11 Last Seen: June 14, 2024 Share Posted July 22, 2017 Is it any npc or only a particular? You could set a var to be read when they click the npc they are talking to. I don't believe there is a way to see if they are "busy" talking though Quote Link to comment Share on other sites More sharing options...
0 year87games Posted July 22, 2017 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 03/01/12 Last Seen: July 18, 2017 Author Share Posted July 22, 2017 No NPC in particular. I am using the Dedicated NPC by goddameit and everything works fine, but if I talk to any other NPC and the Heal or Buffs activate, the message box closes or forced to continue until it disappears. Terminating the dialogue of an NPC this way makes the character unable to move or stuck in 1 cell until you use teleport or relog. Issue is similar to https://github.com/rathena/rathena/issues/2177. Right now, I'm using mapflag as temporary solution to avoid the issue in towns, but I was looking for a better solution. Thanks. Quote Link to comment Share on other sites More sharing options...
Question
year87games
Hi, Is there anyway to check if a mes or message/dialogue box is open? I would like to pause one of the scripts I'm running if the player talks to an NPC. Thank You.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.