View Single Post
  #6  
Old 06-05-2012, 01:22 AM
callimuc callimuc is offline
ジ
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by blackbeltben View Post
I have the check in a looping TimeOut but for some reason it's still not working
Just realized that I had a typo. Accidently wrote
PHP Code:
&& this.x in |player.y, player.y+3 
instead of
PHP Code:
&& this.y in |player.y, player.y+3| 

So try this
PHP Code:
if (this.x in |player.x, player.x+3| && this.y in |player.y, player.y+3|) {
  
player.chat = "The NPC touched me!";
} 
__________________
MEEP!
Reply With Quote