Quantcast
McRun - Official thread - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-15-10, 05:14 PM   #13
IQgryn
A Cyclonian
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 46
Originally Posted by ffcloud2000 View Post
Would anyone be able to make a script that would allow me to add keybinds to Main Action Bar 2? I was trying to do it hacking away at CogsBar but wasn't having any luck It's the bar under keys 1,2,3 etc etc (uses ActionID 13-24)

or if someone could help me make a CogsBar config that creates 1 12button bar with keybinds and sets the bar offscreen

trying to cheat but not working out too well
Code:
bars={
 {B=24,W=12,V=-500,H=0,
  K={'nil','nil','nil','nil','nil','nil',
     'nil','nil','nil','nil','nil','nil',
     'Z','X','SHIFT-Q','SHIFT-E',
     'SHIFT-W','SHIFT-A','SHIFT-S','SHIFT-D',
     'F1','F2','F3','F4',},
 },}
nevermind i got it to work .. tho it would be nice to do it without the nils..
You should be able to specify the index of the first non-nil value and the rest will follow from there. It would look like:
Code:
bars={
 {B=24,W=12,V=-500,H=0,
  K={[13]='Z','X','SHIFT-Q','SHIFT-E',
     'SHIFT-W','SHIFT-A','SHIFT-S','SHIFT-D',
     'F1','F2','F3','F4'}
 }}
(I also removed some extraneous commas.)
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » Released AddOns » McRun - Official thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off