Jump to content
  • 0
Sign in to follow this  
Javanese

showevent appear on all loadevent mapflag

Question

Hello there,

 

I use showevent on some npc on different map.

 

showevent QTYPE_QUEST,1;

 

The problem is, all the mark on map(from all npc that use it) are shown on all map that use mapflag loadevent. Even though i put the

 

OnPCLoadMapEvent:
 showevent QTYPE_QUEST,1;
 end;

at different npc.

 

I am using client 2013-06-05

 

any help would be appreciate, thank you.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Because the label is executed on all maps when player enters, if you want an exclusive map you have to add an codition like

OnPCLoadMapEvent:if (strcharinfo(3) == strnpcinfo(4))    showevent QTYPE_QUEST,1;end;
Edited by Whimmyd89

Share this post


Link to post
Share on other sites
  • 0

 

Because the label is executed on all maps when player enters, if you want an exclusive map you have to add an codition like

OnPCLoadMapEvent:if (strcharinfo(3) == strnpcinfo(4))    showevent QTYPE_QUEST,1;end;

I see, it worked dude. thank you very much ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.