Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the column of the selected talent for a given tier.
tierAvailable, selectedTalent, tierUnlockLevel = 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[]
- tierAvailable
- boolean - true if the player can select a talent for the tier.
- selectedTalent
- number - The column number of the selected talent. This is always 0 for inspected units.
- tierUnlockLevel
- number - The level the tier becomes available to the player.
Patch changes[]
Patch 9.0.1 (2020-10-13): Added tierUnlockLevel
return, which replaced CLASS_TALENT_LEVELS
usage.