View Single Post
  #2  
Old 07-29-2001, 05:12 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
testnpc(x,y)
will test for an npc at x,y, if found, testnpc(x,y) will be equal to the index of the npc, otherwise, it will equal -1.

there is also
testcompu(x,y)
testplayer(x,y)
Reply With Quote