Thread: dx,dy
View Single Post
  #4  
Old 05-11-2003, 01:43 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
Re: dx,dy

Quote:
Originally posted by Onijustin_P2P
how i get the DX and DY position from the playerx / playery
to a X or Y position ?

*im not good in maths ;x*
You probably want this:

NPC Code:

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

__________________
new account: Trevor
Reply With Quote