View Single Post
  #2  
Old 06-04-2012, 11:28 PM
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
You could always check the NPCs x/y and if its in the players x/y within a loop or in whatever you need that
PHP Code:
if (this.x in |player.xplayer.x+3| && this.x in |player.yplayer.y+3) {
  
player.chat "The NPC touched me!";

__________________
MEEP!
Reply With Quote