Thread Tools Display Modes
11/05/20, 10:22 PM   #1
lawBreaker
Join Date: Sep 2020
Posts: 4
get teammate role

Hi

is there a function that can get player's role?

something looks like this:

GetPlayerRole(unitTag) -> role

e.g.
GetPlayerRole(ZO_Group_GetUnitTagForGroupIndex(1)) -> "tank"

thanks
  Reply With Quote
11/05/20, 10:31 PM   #2
Wheels
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 60
GetGroupMemberSelectedRole(string unitTag)
  Reply With Quote
11/06/20, 08:10 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Most up2date API function/constants/events/etc. list:
https://www.esoui.com/forums/attachm...1&d=1604332148

Search for group inside and you'll find some helping API functions.
These files are also always listed and linked at the esoui WIKI -> API version history.
  Reply With Quote
11/06/20, 09:43 AM   #4
lawBreaker
Join Date: Sep 2020
Posts: 4
Thanks, both of you
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » get teammate role

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