Jump to content
  • 0

OnTouch NPC not working? (SOLVED)


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Hi,

I tried to make NPC with OnTouch function.. But.. Currently its working with normal talk (click).. Not when we come near, it auto run the script.. I tried compare with poring war script and many more but still not work Ontouch.. May I know which part I do wrong?

Thank you..

prontera,150,150,5	script	Guard	966,{

OnTouch:

mes "[Guard]";
mes "Halt!! This area is off limit!!";
close;
}

 

Edited by rakuzas
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   16
  • Joined:  09/26/16
  • Last Seen:  

prontera,150,150,5	script	Guard	966,2,2,{ // <~ you need to set x and y something

 

Untitled.png

Edited by Athan17
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Thanks.. ^_^ Learn another useful lesson today.. Thank you very much @Athan17..

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...