GetActiveSpecGroup

From Wowpedia
Jump to: navigation, search

Returns the index of the current active specialization/talent/glyph group.

activeSpec = GetActiveSpecGroup([isInspect])

Arguments

isInspect 
Boolean - If true returns the information for the inspected unit instead of the player. Defaults to false.

Returns

activeSpec 
Number - The index of the player's active specialization/talent/glyph group (1 for primary / 2 for secondary).

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Replaced GetActiveTalentGroup.