Thread: dx,dy
View Single Post
  #5  
Old 05-11-2003, 10:44 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Re: Re: dx,dy

Quote:
Originally posted by tlf288


You probably want this:

NPC Code:

( (x1 - x2)^2 + (y1 - y2)^2 )^.5

Hint for Onijustin: That's the distance formula
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote