GetTalentGroupRole

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.15.0

Returns the currently select role for a player talent group (primary or secondary).

role = GetTalentGroupRole(groupIndex)

Arguments

groupIndex
number - Ranging from 1 to 2 (primary/secondary talent group). To get the current one use GetActiveTalentGroup()

Returns

role
string - Can be DAMAGER, TANK, or HEALER