What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How do I check if a WoWPlayer is grouptank?

I would think differently, check everyones health and whoever has the highest "should" be the groups tank.
 
The wow API gives you the possibility to check for the assigned role.

UnitGroupRolesAssigned(Unit);

Gesendet von meinem GT-I9100 mit Tapatalk
 
This only shows you for which role you have signed up, not which role any other player has been assigned to. Neither to which role you have been assigned to.

I suppose that's not what he wants... Anyway he could be more specific on his question...

Edit
This was a reply to getlfgroles

Gesendet von meinem GT-I9100 mit Tapatalk
 
Alright to be more specific. In my CC I want to get the WoWPlayer who has the tank role in my current group.
This is so I can prevent my char from casting Hand of Protection on the tank :P
I know this part of HB's api contains it, but I'm not sure how to compare with a specific WoWUnit:
Code:
Styx.WoWInternals.WoWObjects.WoWPartyMember.GroupRole
 
Back
Top