Originally Posted by ffcloud2000
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.)