Quantcast Party Members Location - ESOUI
Thread Tools Display Modes
04/12/19, 01:56 PM   #1
Function
Join Date: Apr 2016
Posts: 2
Party Members Location

Hello, today I have decided that I would like to try and develop an addon for ESO. I would like to start with a simple calculation of distance between myself a party member which is just the distance between two points, my problem is how to get the second point (for the party member). From my research I saw that I will need to use sirinsidiator's LibGPS2 for global positioning due to the maps using different indexing. I also saw in the ESOUI API that I could use "GetMapPlayerPosition('player')" to get my own coordinates but nothing on how to get a party members. Is this possible? If so would someone be kind enough to teach me?

Thank you for any help,
Function
  Reply With Quote
04/12/19, 02:21 PM   #2
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,122
The group (party) members got tags like you got "player", they will be group1, group2 etc.
Maybe it works with GetMapPlayerPosition(groupN) then.

btw: there are already addons calculating the distance to something, maybe you can inspect them to learn how it is done. WAypointIt I think shows the distance to a waypoint you have set (if I remember correctly).
  Reply With Quote
04/12/19, 04:16 PM   #3
Function
Join Date: Apr 2016
Posts: 2
Originally Posted by Baertram View Post
The group (party) members got tags like you got "player", they will be group1, group2 etc.
Maybe it works with GetMapPlayerPosition(groupN) then.

btw: there are already addons calculating the distance to something, maybe you can inspect them to learn how it is done. WAypointIt I think shows the distance to a waypoint you have set (if I remember correctly).
Perfect, thank you so much Baertram.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Party Members Location

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off