Post Reply Home » Forums » Vanguard » Vanguard Discussion

NEED your HELP X,Y in vanguard : Vanguard Discussion

Posted: March 15th, 2007
User avatar
Total Posts:199 Joined:2005
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
User avatar
Premium
Total Posts:6718 Joined:2004
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
User avatar
Total Posts:199 Joined:2005
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
User avatar
Premium
Total Posts:6718 Joined:2004
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!
Want Advertisements After The Last Post Removed? Create A Free Account!
blue large dotWho is online
Users browsing this forum: No registered users and 10 guests
Post Reply