Thread Tools Display Modes
10/23/23, 11:29 AM   #1
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Firstly be aware that function doesn't return the correct data when you are too far from the group member.
Secondly it still works properly in minimap by Fyrakin.

Try to verify what GetGroupUnitTagByIndex outputs because it does weird things sometimes.

EDIT:
Sorry I read too fast, I'm only using the 1st value returned and it works correctly, I don't know for value 2 and 3
GetTargetMountedStateInfo(*string* _characterOrDisplayName_)
** _Returns:_ *[MountedState|#MountedState]* _mountedState_, *bool* _isRidingGroupMount_, *bool* _hasFreePassengerSlot_

Last edited by Masteroshi430 : 10/23/23 at 11:33 AM.
  Reply With Quote
10/23/23, 11:50 AM   #2
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 247
Originally Posted by Masteroshi430 View Post
Firstly be aware that function doesn't return the correct data when you are too far from the group member.
Secondly it still works properly in minimap by Fyrakin.

Try to verify what GetGroupUnitTagByIndex outputs because it does weird things sometimes.

EDIT:
Sorry I read too fast, I'm only using the 1st value returned and it works correctly, I don't know for value 2 and 3
GetTargetMountedStateInfo(*string* _characterOrDisplayName_)
** _Returns:_ *[MountedState|#MountedState]* _mountedState_, *bool* _isRidingGroupMount_, *bool* _hasFreePassengerSlot_
It used to work perfectly. Ive had my addon setup to handle "saved" player" not being mounted on dual mount and with a passenger already using this function even when out of range but now its returning true for every single group member in testing when noone is mounted at all, inrange and not inrange.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » GetTargetMountedStateInfo() issues


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