WoW API: UnitGroupRolesAssigned

Revision as of 23:59, 15 October 2010 by WoWWiki>Laroa (edited for changes in 4.0.1)

WoW API < UnitGroupRolesAssigned

Returns the assigned role in a group formed via the Dungeon Finder Tool.

 role = UnitGroupRolesAssigned(Unit);

Arguments

Unit
String - the unit to be queried (player, party1 .. party4, target, raid1 .. raid40)

Returns

role
String - TANK, HEALER, DAMAGER, NONE