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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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