Log in

View Full Version : Macros for changing your party leader



Glival
08-16-2008, 08:32 PM
Hey all,

First off, thanks for this excellent forum :)
After reading this, I started out with 3 mages (Xxal, Xxil and Xxul ^^). I'm using the PiP feature in keyclone; Xxal is my "main" char most of the times, however, when I switch to Xxil or Xxul, I want it to be my leader char. To accomplish this, I've set up some macros. To shorten this post a bit, here are the macros for a 2 player setup:

On Xxal:

Leader Xxal


/focus Xxal
/script SetBinding("W", "MOVEFORWARD")
/script SetBinding("A", "TURNLEFT")
/script SetBinding("S", "MOVEBACKWARD")
/script SetBinding("D", "TURNRIGHT")
/script SaveBindings(1)

Leader Xxil


/focus Xxil
/script SetBinding("W", "MACRO Follow")
/script SetBinding("A", "MACRO Follow")
/script SetBinding("S", "MACRO Follow")
/script SetBinding("D", "MACRO Follow")
/script SaveBindings(1)


On Xxil:

Leader Xxal


/focus Xxal
/script SetBinding("W", "MACRO Follow")
/script SetBinding("A", "MACRO Follow")
/script SetBinding("S", "MACRO Follow")
/script SetBinding("D", "MACRO Follow")
/script SaveBindings(1)

Leader Xxil


/focus Xxil
/script SetBinding("W", "MOVEFORWARD")
/script SetBinding("A", "TURNLEFT")
/script SetBinding("S", "MOVEBACKWARD")
/script SetBinding("D", "TURNRIGHT")
/script SaveBindings(1)


And on both:

Follow


/target focus
/follow
/cleartarget


Bind macros with the same name to the same key; for example, "Leader Xxal" on F10 for both chars, and "Leader Xxil" on F11 for both chars. You don't have to bind "Follow".

What this will do:
- Whenever you press F10, Xxal can use WASD to move around, and WASD will make Xxil follow Xxal
- Whenever you press F11, Xxil can use WASD to move around, and WASD will make Xxal follow Xxil

Now make a bunch of macros like:

/cast [target=focustarget,harm] Fireball;
It'll fire 3 fireballs to your main characters target.

I'm loving this for gather quest; I just gather all I need on Xxal, press F11, press my PiP key for Xxil, and then use Xxil as my leader and gather what I need.

Enjoy!

sicsid
08-16-2008, 09:08 PM
Thanks for this, it is exactly what I was looking for. This will save me lots of time when im 3boxing.

Akoko
08-16-2008, 09:59 PM
How exactly does the SetBinding function work? Does it assign a new key to what used to be W? Or does it just make W assign to the new thing without changing anything in the Esc menu -> keybindings. Sorry it's hard to word this question.

i.e. Say i have
Move foward bound to W. Does calling /script SetBinding("W", "MACRO Follow") simply make an invisible bind of W -> follow, or does it change "move foward" -> follow?

Glival
08-17-2008, 05:21 AM
It simply changes what "W" is bound to. It doesn't change the behavior of "Move forward".

Gares
08-17-2008, 10:32 AM
I actually really like this macro and might use it in my 5 boxer cause I was thinking about that as well and with gather quests this would be EASY!