Returns information about the talents of the player, or the currently inspected player.
Signature:
name, iconTexture, tier, column, rank, maxRank, isExceptional, meetsPrereq = GetTalentInfo(tabIndex, talentIndex, isInspect)
Arguments:
tabIndex- The index of the talen tree. (number)talentIndex- The index of the talent. (number)isInspect- 1 if retrieving information from an inspected person, nil otherwise (1nil)
Returns:
name- The name of the talent. (string)iconTexture- The icon texture of the talent. (string)tier- The tier (row) of the talent. (number)column- The column of the talent. (number)rank- The current rank of the talent. (number)maxRank- The maximum rank of the talent. (number)isExceptional- 1 if the selected talent is a ability you gain, nil otherwise. (1nil)meetsPrereq- 1 if you meet the prerequisite to learn the talent, nil otherwise. (1nil)
Although we still believe this documentation to be accurate, it is in the process of being reviewed for the second edition of World of Warcraft Programming. You can safely ignore this message, as it's intended for the authors as a convenience.