View Single Post
02-13-15, 02:35 PM   #8
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by elcius View Post
Eventually you'll end up with something like this:
Code:
/stopmacro [combat]
/click TalentMicroButton
/click TalentMicroButton
/click PlayerTalentFrameTalentsTalentRowXTalentY -- talent you want to learn (row/col)
/click StaticPopup1Button1 -- should probaly had some checking for which popup is actually the talent one.
/click PlayerTalentFrameTalentsTalentRowXTalentY -- repeat as needed....
/click StaticPopup1Button1
...
/run LearnTalents(a,b,c,d,e,...) -- will need to be a slightly delayed call to give the server time to process the unlearns
I explained in the other thread that the game generally won't let you unlearn multiple talents at once, you will get "another action is in progress" error if you try to make one large macro like that.

Occasionally it does let you swap more than one at a time, the problem is that since it's completely inconsistent you can't rely on it correctly changing out your talents.
  Reply With Quote