View Single Post
10-01-11, 12:25 PM   #20
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations
Join Date: Dec 2006
Posts: 72
Originally Posted by brotherhobbes View Post
Could probably use
http://wowprogramming.com/docs/api/GetPrimaryTalentTree
tabIndex = GetPrimaryTalentTree(isInspect, isPet, talentGroup)

so like

local spec = GetPrimaryTalentTree(false, false)

if spec == 1
blood
else if spec == 2
frost
etc
etc
thanks need to learn some basics at some point, could someone translate that into a working kgpanels script?
  Reply With Quote