Quote:
Originally Posted by blackbeltben
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!";
}