Page 1 of 1

Distances

Posted: Thu Oct 20, 2005 12:33 am
by Sscob
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.

Posted: Thu Oct 20, 2005 12:36 am
by shuttle
look at the frequency UI in the Custom UI section. it has what you are looking for.

Re: Distances

Posted: Thu Oct 20, 2005 7:35 am
by gimp
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}

Posted: Sat Oct 22, 2005 6:24 pm
by Sscob
Thank you both, I was able to do what i wanted with both of your assistance.

Re: Distances

Posted: Thu Jan 08, 2026 6:54 am
by xyilla

Re: Distances

Posted: Thu Jan 08, 2026 6:55 am
by xyilla