Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
 
m (Function returns a nil value if no primary tree selected.)
 
Line 1: Line 1:
  +
{{wowapi}}
<!-- [[Image:Valgar Highforge.jpg|thumb|[[{{PAGENAME}}]]]]
 
  +
Returns the index of your primary talent tree.
-->{{npcbox
 
  +
primaryTabId = GetPrimaryTalentTree([isInspect[, isPet[, talentGroup]]])
| name = Valgar Highforge
 
| image = Valgar Highforge.jpg
 
| title = Paladin Trainer
 
| level = 60
 
| type =
 
| faction = Alliance
 
| city = Ironforge
 
| race = Dwarf
 
| creature = Humanoid
 
| sex = Male
 
| location = [[Ironforge]]
 
}}
 
'''Valgar Highforge''' is a level 60 [[paladin trainer]] located in the [[Hall of Mysteries]] in [[the Mystic Ward]], in the [[dwarf]] city of [[Ironforge]].
 
<br><br>
 
See [[List of Ironforge NPCs]].
 
   
  +
== Arguments ==
[[Category:Dwarves|Highforge]]
 
  +
;isInspect : Boolean (Optional) - If true returns the information for the inspected unit instead of the player.
[[Category:Paladin Trainers|Highforge]]
 
  +
;isPet : Boolean (Optional) - If true returns the information for the inspected pet.
[[Category:City:Ironforge|Highforge]]
 
  +
;talentGroup : Number (Optional) - The number of the talentgroup you want to look at. i.e. 1 for Primary, 2 for Secondary.
  +
  +
== Returns ==
  +
;primaryTabId : Number - Returns the index of the tab with the most number of talents in it, i.e. the primary talent tree (1, 2, or 3); Returns a nil value if no primary tree has been selected.

Revision as of 12:37, 29 October 2010

Returns the index of your primary talent tree.

primaryTabId = GetPrimaryTalentTree([isInspect[, isPet[, talentGroup]]])

Arguments

isInspect
Boolean (Optional) - If true returns the information for the inspected unit instead of the player.
isPet
Boolean (Optional) - If true returns the information for the inspected pet.
talentGroup
Number (Optional) - The number of the talentgroup you want to look at. i.e. 1 for Primary, 2 for Secondary.

Returns

primaryTabId
Number - Returns the index of the tab with the most number of talents in it, i.e. the primary talent tree (1, 2, or 3); Returns a nil value if no primary tree has been selected.