Jump to content
  • 0

using "showevent" in OnInit?


Question

Posted (edited)

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

1 answer to this question

Recommended Posts

Posted (edited)
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...