PDA

View Full Version : Macro to bind and unbind keys?



Gares
09-05-2008, 10:34 PM
I'm thinking of this only because in my 5 shammy team I use the leaderless setup and I would like to be able to turn my 4 other shammies but not my current leader at any given time using the same keys (Q and E).

Its a pain in the ass when my main turns with the slaves and then is facing the wrong way.

Easy to fix if I always have the same main but when I switch is when it goes nuts. The main moves and 3 slaves move but normal main doesn't if I use keybinds.

Grey
09-08-2008, 08:40 PM
Hi Gares,

Most people do the do-not-pass feature of keyclone to not pass movement keys. However i use CloneKeys so i do the following on each toon:

macro 1 to unbind all my movement keys, which i have bound to the "." key on all toons:


/script SetBinding("W")
/script SetBinding("S")
/script SetBinding("Q")
/script SetBinding("E")

This will unbind on everyone.

macro 2 to bind keys on a toon (I click this, no hotkey):


/script SetBinding("W","MOVEFORWARD")
/script SetBinding("S","MOVEBACKWARD")
/script SetBinding("Q","STRAFELEFT")
/script SetBinding("E","STRAFERIGHT")

So when i do collection quests and i change to the next guy, just hit period, one click and away ya go.

Note that the SetBinding function doesn't work while in combat, it apparently used to but they changed it.