WoW API: UnitGroupRolesAssigned
Jump to navigation
Jump to search
← WoW API < UnitGroupRolesAssigned
Returns the assigned role in a group formed via the Dungeon Finder Tool.
isTank, isHeal, isDPS = UnitGroupRolesAssigned(Unit);
Arguments
- Unit
- String - the unit to be queried (player, party1 .. party4)
Returns
- isTank
- Boolean - true for the player being assigned the tank role
- isHeal
- Boolean - true for the player being assigned the healer role
- isDPS
- Boolean - true for the player being assigned a dps role