I may be mistaken, but I remember long ago seeing a /bind command that you could use to switch keybindings in-game. For some reason the search function doesn't like this term. What I am looking to do is to change the keybindings for the movement keys from a script.
While I am considering moving to HKN, I currently use Octopus. Since Octopus is the one system that does not allow for "hit key Alt-Shift-R on main, send key 1 on Slave1 and Slave2, but not Slave3 or Slave4" this is compounded by the fact that Octopus cannot properly send Up, Down, Left, Right when sent from an X-Keys keyboard (The stars aligned for me... not... the one setup/config that doesn't work). (it is a complicated story I won't get into here).
Additionally, I have a 128 key X-Keys (yay). I have 4 sets of 6 directional keys (so I can move each slave 100% isolated. I have another set of 6 that moves all 6 together (but not my main) and 4 keys for "formation" (which sends Up to Slave1+Slave2, while sending Down to Slave3+Slave4).
Ok, that's out of the way. Here's the issue:
I want to move on to having different teams (leveling team 2 now), and I want the toon in the bottom right to be controlled by the bottom right set of XKeys (makes sense, right?). However, if I switch a toon to a different screen space, I want to change the bindings in a relatively painless fashion. I was thinking (and I am probably wrong) of something that looked like:
Place the following into a single Macaroon button:
//Toon TopRight:
/script setbinding("Ctrl-Alt-i",strafeleft);
/script setbinding("Ctrl-Alt-o",moveforward);
/script setbinding("Ctrl-Alt-p",straferight);
/script setbinding("Ctrl-Alt-k",turnleft);
/script setbinding("Ctrl-Alt-l",movebackward);
/script setbinding("Ctrl-Alt-;",turnright);
/script setbinding("Ctrl-Alt-t","--need comment to unbind");
/script setbinding("Ctrl-Alt-y","--need comment to unbind");
/script setbinding("Ctrl-Alt-u","--need comment to unbind");
/script setbinding("Ctrl-Alt-g","--need comment to unbind");
/script setbinding("Ctrl-Alt-h","--need comment to unbind");
/script setbinding("Ctrl-Alt-j","--need comment to unbind");
Then this goes into another separate Macaroon button:
//Toon TopLeft:
/script setbinding("Ctrl-Alt-t",strafeleft);
/script setbinding("Ctrl-Alt-y",moveforward);
/script setbinding("Ctrl-Alt-u",straferight);
/script setbinding("Ctrl-Alt-g",turnleft);
/script setbinding("Ctrl-Alt-h",movebackward);
/script setbinding("Ctrl-Alt-j",turnright);
/script setbinding("Ctrl-Alt-i","--need comment to unbind");
/script setbinding("Ctrl-Alt-o","--need comment to unbind");
/script setbinding("Ctrl-Alt-p","--need comment to unbind");
/script setbinding("Ctrl-Alt-k","--need comment to unbind");
/script setbinding("Ctrl-Alt-l","--need comment to unbind");
/script setbinding("Ctrl-Alt-;","--need comment to unbind");
... etc for all 4 toons.
Then, if a toon is in the top left, I click the button for top left (out of combat if necessary) and now all the bindings are set for that toon.
Here's the question:
- Is this possible
- If possible, what's the correct syntax/method?
Connect With Us