Quantcast [open] GetMapPlayerPosition Adjustments - ESOUI
Thread Tools Display Modes
04/23/18, 06:10 AM   #1
Sordrak
AddOn Author - Click to view addons
Join Date: May 2017
Posts: 20
[open] GetMapPlayerPosition Adjustments

Hey Ho

The current definition is as following:
* GetMapPlayerPosition(*string* _unitTag_)
** _Returns:_ *number* _normalizedX_, *number* _normalizedZ_, *number* _heading_

It would be awesome if Zenimax could add an additional fourth return value *number* _normalizedY_
This would allow adding some nice features E.g. would it be way easier to add 3D objects.

Last edited by Sordrak : 04/23/18 at 06:17 AM.
  Reply With Quote
04/23/18, 03:40 PM   #2
Shinni
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
As temporary work-around you can use lib3D (copy it from HarvestMap, don't use the outdated version I uploaded to esoui) and call

local x,y,z = Lib3D:ComputePlayerRenderSpacePosition()

edit: ah wait. you probably want to get the position of group members etc.
my solution only works for the player itself.
  Reply With Quote
04/24/18, 01:18 AM   #3
Sordrak
AddOn Author - Click to view addons
Join Date: May 2017
Posts: 20
Originally Posted by Shinni View Post
As temporary work-around you can use lib3D (copy it from HarvestMap, don't use the outdated version I uploaded to esoui) and call

local x,y,z = Lib3D:ComputePlayerRenderSpacePosition()

edit: ah wait. you probably want to get the position of group members etc.
my solution only works for the player itself.
correct, it is about other players / unitTags.
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] GetMapPlayerPosition Adjustments

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