Distances

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

Sscob
decaying skeleton
decaying skeleton
Posts: 2
Joined: Thu Oct 20, 2005 12:18 am

Distances

Post by Sscob » Thu Oct 20, 2005 12:33 am

I am looking to put "distance from me" in the "group window" so I can, well, see how far the group members are from me at a glance.

Any help would be appreciated, the 7000 hits i got runing a search on Distance was hard to get through.

shuttle
a lesser mummy
a lesser mummy
Posts: 62
Joined: Mon Nov 11, 2002 6:08 am

Post by shuttle » Thu Oct 20, 2005 12:36 am

look at the frequency UI in the Custom UI section. it has what you are looking for.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Re: Distances

Post by gimp » Thu Oct 20, 2005 7:35 am

Sscob wrote:I am looking to put "distance from me" in the "group window" so I can, well, see how far the group members are from me at a glance.

Any help would be appreciated, the 7000 hits i got runing a search on Distance was hard to get through.
The ${Group.Member[xxx]} array cointains pointers to the spawns in zone making up your group. All spawns have .Distance property wich tells you the distance from you to this spawn.
This number is returned in floats. If you wish to use this in a HUD, i'd recommend rounding it off to integers like in the example below to take up less space.

Code: Select all

${Group.Member[1].Distance.Int}

Sscob
decaying skeleton
decaying skeleton
Posts: 2
Joined: Thu Oct 20, 2005 12:18 am

Post by Sscob » Sat Oct 22, 2005 6:24 pm

Thank you both, I was able to do what i wanted with both of your assistance.