|
|
|
Page 1 of 1 |
[ 4 posts ] |
|
 NEED your HELP X,Y in vanguard : Vanguard Discussion
|
|
Posted: March 15th, 2007, 8:03 am
|
|
|
|
sinshar
Total Posts: 199
Joined: February 22nd, 2005, 3:07 pm
sinshar's Reps: 0
|
i"M not in a position to log in and check so i need someone to do it for me =)
In vanguard the Coord system is Carteisen i belive, however i think vanguards Numbers are backwords
I think that NORTH is NEGITIVE - Y in vanguard. and WEST is NEGITIVE X.
Can someone verify this for me? thanks.. if not i can do it in 12 hours when i get home
N
W E
S
|
|
|
|
|
Posted: March 15th, 2007, 1:06 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
what do you need it for?
If you need to find the distance between 2 locs you can use my API. I have API calls for 2d distance and 3d distance traveled.
There is also a speed api so you acn see how fast you are moving.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 15th, 2007, 1:53 pm
|
|
|
|
sinshar
Total Posts: 199
Joined: February 22nd, 2005, 3:07 pm
sinshar's Reps: 0
|
I was working on a Move function that would Move me around objects that blocked my path.
Where is a list of your API's wyvernx, it would be handy for me.
I would love to use your API's to get the distance between 2 X,Y locations and somehow use that in conjuntion with the speed Call to find out how far i thereticly should have moved, and if not then start up my navigateAroundObject()
I hope i am not trying to re invite the wheel as that is not my intent, My intent is, to have a MovTo YX function that will keep going until it gets there, and move around anything in its way.
The current MovTo only runs a brief time,. and stops , and if i'm not within its range, it doesn't start it self back up
|
|
|
|
|
Posted: March 15th, 2007, 5:54 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Well I only have the distance between the player and a object.
That is VG.Player.GetDistance(x,y) 'will return distance from a point to the player
so you can get playerx get playerY, move, then call vg.player.getdistance (oldX, oldY) and it will tell you how far you moved.
I think XUM itself has some functions too under math.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 26 guests |
|
|
|