|
element Newbie
Joined: 23 Feb 2004 Posts: 5
|
Posted: Tue Mar 02, 2004 12:33 am
Multi-'state' Macros |
A simple question:
Is it possible to assign two or more 'states' to a single macro key?
For example, I have an alias called SS that wields two swords. When I hit the f12 key, I would double slash. I also have an alias called AA that would equip two spears. What I would like to happen here is to hit the same F12 key, and have it do something different, like double jab. Is it possible to do this, and if so, then HOW so?
Thanks in advance you Zmud gurus! |
|
|
|
musishun00 Wanderer
Joined: 16 Dec 2003 Posts: 77 Location: USA
|
Posted: Tue Mar 02, 2004 12:45 am |
Set the value of the macro to a variable. Something like @f12action. When your alias switches weapons, have it set the value of the macro.
Alias
SS
Value
wield sword1
wield sword2
#var f12action "double slash"
Do the same as above for the spears. That should work for you. |
|
|
|
element Newbie
Joined: 23 Feb 2004 Posts: 5
|
Posted: Tue Mar 02, 2004 12:55 am |
Ahh, that just might work. The only problem I am having is:
I am using F1-F12 keys for my sword attacks, and I would like the same amount of F keys for my spear attacks!
How would this be accomplished? Thanks for your help! |
|
|
|
element Newbie
Joined: 23 Feb 2004 Posts: 5
|
Posted: Tue Mar 02, 2004 1:10 am |
I guess I should have been more specific in my first post. I apologize.
What I need is to change the F1-F12 keys to ALL do something different when I type a certain alias. I think the sheer spam that would happen if I indeed did tie every key to a variable would just be unbearable! Perhaps there is a cleaner way? |
|
|
|
musishun00 Wanderer
Joined: 16 Dec 2003 Posts: 77 Location: USA
|
Posted: Tue Mar 02, 2004 3:25 am |
If you tie the key to a variable, it will only execute what is in that variable. Hmm... try this.
Alias
swords
Value
wield sword1
wield sword2
#var swing "slash"
Alias
spears
Value
wield spear1
wield spear2
#var swing "stab"
Then just have the buttons' value be something to the effect of:
f12
Value
double @swing |
|
|
|
element Newbie
Joined: 23 Feb 2004 Posts: 5
|
Posted: Tue Mar 02, 2004 3:41 am |
Hmm, I tried that, but halfway through I decided it was simply too much, and would most likely take too long to properly set up, and even then, would not be worth the hassel of altering as my attack tactics change.
What I had to do was make about 220 little variables. I then assigned 2-10 of them to each macro. Seeing that I have 12 F keys that I will need flipped over, it isnt practical.
*sigh* Guess I am resigned to using the shift-fkeys. Was trying to avoid that.
Anyhow, your help was greatly appreciated, and I even used some of it for some other non-combat macros.
Thanks! |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Mar 02, 2004 6:26 am |
I believe this will work or something along these lines *not able to test*
Make your f-key macros for swords give it an IDname IE swords1....2...3 etc and put it inside of a class then disable the class and make new f-key macros for spears with IDs of spears1...2..3. etc then just disable and enable classes as you need them |
|
|
|
Zinjin Newbie
Joined: 02 Mar 2004 Posts: 6
|
Posted: Tue Mar 02, 2004 6:30 am |
Heh!
I was trying to figure out the same thing.
The two seperate class response does indeed work.
Thanks! |
|
|
|
|
|