Jump to content
  • 0

using "showevent" in OnInit?


sizenine

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

How can I make the "showevent 1,0;" emoticon bubble appear on a NPC without having to click the NPC first? I've seen it on some servers and I tried using it with OnInit but it still does not appear until you click the NPC.

Edited by sizenine
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  83
  • Reputation:   57
  • Joined:  01/21/12
  • Last Seen:  

prontera,100,100,4 script BlahBlah#NPC1 100,{
mes "Blah blah";
close;
OnPCLoadMapEvent:
getmapxy @m_char$,@x,@y,0;
getmapxy @m_npc$,@x,@y,1,strnpcinfo(0);
if( @m_char$ == @m_npc$ )
 showevent 1,0;
end;
}

Edited by Gennosuke Kouga
Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...