ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   get teammate role (https://www.esoui.com/forums/showthread.php?t=9460)

lawBreaker 11/05/20 10:22 PM

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 :)

Wheels 11/05/20 10:31 PM

GetGroupMemberSelectedRole(string unitTag)

Baertram 11/06/20 08:10 AM

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.

lawBreaker 11/06/20 09:43 AM

Thanks, both of you


All times are GMT -6. The time now is 08:24 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI