Originally Posted by ffcloud2000
the Z keybind seems to be the only key that wants to work properly.. all the other keybinds after seem to start back at actionid1 like i'd have to assign each id before the bind
for example i changed the first 4 keybinds to
Code:
bars={
{B=24,W=12,V=-500,H=0,
K={[13]='Z',[14]='X',[15]='SHIFT-Q',[16]='SHIFT-E',
'SHIFT-W','SHIFT-A','SHIFT-S','SHIFT-D',
'F1','F2','F3','F4'}
}}
|
Couldn't you instead just create 2 bars and only assign the keybindings to the second one.
Also instead of using nil, because the settings are kept out of global scope you can just use a nil variable i.e.
lua 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',},
},}
would become
lua Code:
bars={
{B=24,W=12,V=-500,H=0,
K={n,n,n,n,n,n,
n,n,n,n,n,n,
'Z','X','SHIFT-Q','SHIFT-E',
'SHIFT-W','SHIFT-A','SHIFT-S','SHIFT-D',
'F1','F2','F3','F4',},
},}
ofcourse n could be any variable (r,x,y,z etc.)