WoW:API LearnTalent: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API LearnTalent to API LearnTalent without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
Learns the name of a specified talent in a specified tab.  
Learns the name of a specified talent in a specified tab.  


  LearnTalent( ''tabIndex'' , ''talentIndex'' );
  LearnTalent( tabIndex, talentIndex );
 
== Parameters ==


----
=== Arguments ===
;''Arguments''


:;tabIndex : Integer - Specifies which tab the talent is in.
:;tabIndex : Integer - Specifies which tab the talent is in.


:;talentIndex : Integer - Specifies which talent to learn.
:;talentIndex : Integer - Specifies which talent to learn; 1 for the top-left corner talent, left to right along the first row, and then continues row for row.
 
'''Note:''' The talentIndex is counted as if it where a tree meaning that the left most talent in the top most row is number 1 followed by the one immediate to the right is number 2, if there is no more talents to the right then it continues from the left most talent on the next row.
 
----
{{Template:WoW API}}

Latest revision as of 04:46, 15 August 2023

WoW API < LearnTalent

Learns the name of a specified talent in a specified tab.

LearnTalent( tabIndex, talentIndex );

Parameters[edit]

Arguments[edit]

tabIndex
Integer - Specifies which tab the talent is in.
talentIndex
Integer - Specifies which talent to learn; 1 for the top-left corner talent, left to right along the first row, and then continues row for row.