Wowpedia
Advertisement
Wowpedia
240,501
pages
Game Flavors
Links
Patch
Added in 5.0.4

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 / API (2012-08-28): Replaced GetActiveTalentGroup.

Advertisement