Thread: Pathfinding
View Single Post
  #12  
Old 12-28-2003, 11:45 AM
D1ce2 D1ce2 is offline
Registered User
Join Date: Dec 2003
Location: United Kingdom
Posts: 446
D1ce2 is on a distinguished road
Send a message via AIM to D1ce2 Send a message via Yahoo to D1ce2
Do you mean following a specific tile?.. Isn't the command similar to this :
NPC Code:

if(tiles[playerx+1,playery-1) == tile number 1 || tile number 2 || etc)){
//Do this..
}


Or add a variable to it for easier use..
I think this is wrong but.. o-well
__________________

The time is coming
Reply With Quote