Wikia

WoWWiki

API UnitGroupRolesAssigned

Talk0
101,312pages on
this wiki
Revision as of 16:49, December 15, 2009 by .Coren. (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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

Around Wikia's network

Random Wiki