GetTalentTierInfo

From Wowpedia
Jump to: navigation, search

Returns the column of the selected talent for a given tier.

tierAvailable, selectedTalent = GetTalentTierInfo(tier, specGroupIndex[, isInspect[, inspectedUnit]])

Arguments

tier 
number - Talent tier from 1 to MAX_TALENT_TIERS
specGroupIndex
number - Index of active specialization group (GetActiveSpecGroup)
isInspect 
boolean? - If non-nil, returns information based on inspectedUnit.
inspectedUnit 
string? - Inspected unitId.

Returns

1. tierAvailable 
boolean - true if the player can select a talent for the tier.
2. selectedTalent 
number - The column number of the selected talent.

Details

  • selectedTalent is always 0 for inspected units.