#Roles
1 messages · Page 1 of 1 (latest)
Possible yes, would require code though
@dim axle I'm also interested in this. Can you tell me the LUA function to read information about the role? Does it work on arena enemies as well?
Click this link for lots of useful info and links for anyone wanting to get into making custom Auras:
https://discordapp.com/channels/172440238717665280/413380679410384896/718441153267236865
Thank you, but UnitGroupRolesAssigned only works on your own groups members and I don't know how to know which player has which role when using GetArenaOpponentSpec
Use the GroupRoles function is for your group, the other 2 are for arena
But how do I know which opponent corresponds to which ID? GetArenaOpponentSpec expects 1, 2 or 3 as an argument if I understand correctly. How can I find out which arena ID a unit has?
1-3 is arena1-3
Yes, but how do I find out if a specific unit who's nameplate I'm changing with the WA is 1, 2 or 3?
Is it just something like UnitIsUnity(unit, "Arena1")?
You don't really need to worry about it.
You'd make this in a TSU, you'd iterate i = 1, 3 do and provide the unit = "arena"..i