WoW API: UnitGroupRolesAssigned

From AddOn Studio
Revision as of 16:49, 15 December 2009 by WoWWiki>.Coren. (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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