Forum Settings
       
Reply To Thread

Weapon Swapping Macro?Follow

#1 Jan 23 2008 at 4:45 PM Rating: Excellent
So... how do you go about making one of those?

:(
#2 Jan 23 2008 at 4:57 PM Rating: Default
I think there are addons that do that. I.E. Using ambush would equip dagger X and then switch back to sword/mace/dagger Y.
Puppet something? I dunno.


But I really don't think that you could make an In-Game Macro for switching your weapons. (Although try /unequip, /equip?)
#3 Jan 23 2008 at 4:59 PM Rating: Decent
Create macro


/equip "shift click the desired weapon in this slot"

you can do the same thing with the other weapon in the same macro



example:

/equip main hand wep
/equip off hand wep
#4 Jan 23 2008 at 5:03 PM Rating: Excellent
Is there a way to build an '/if /then' close? I'd love to click 1 button and it changes my OH with the OH in my backpack and then switch it back by pressing on it again...
#5 Jan 23 2008 at 5:08 PM Rating: Decent
I actually did some research on this as I wanted to accomplish this myself and I haven't found anything where you can do that. I just have 2 different macros for the weapon swaps.
#6 Jan 23 2008 at 5:10 PM Rating: Excellent
Bummer. Button space is at premium obviously. Well, I'll guess I'll have to deal with it somehow.

#7 Jan 23 2008 at 5:58 PM Rating: Decent
Or use addon like ItemRack to help, so instead of having 2 buttons, you can do something like.

Shift-Z: Swap offhand to mace
Ctrl-Z: Swap offhand to sword

Macro should be able to do the same, but I'm just lazy I guess :P
#8 Jan 23 2008 at 6:18 PM Rating: Good
****
8,779 posts
well, you could try writing a macro using the alt/shift/ctrl modifier functionality. unmodified macro would equip weapon OH #1, while shift+macro (or alt, or ctrl) would equip weapon OH #2. its still one macro, so it saves on that button space.
#9 Jan 23 2008 at 7:08 PM Rating: Decent
**
459 posts
The alt/shift/ctrl thing Quor suggested would work, or you can use stance modifiers.


I use If/Then code every single day in programming class. There is a way you can do this for 1 button. Something like:

/equip [combat] <your combat weapon here>; [nocombat, stealth] <your opener weapon here>

That should do the trick if im not mistaken. Hope this helps :)




EDIT: Just came to me, if you want to be real lazy, you could probably tag the abilities associated with those weapons on there. Just a few extra lines:

/equip [combat] <your combat weapon here>; [nocombat, stealth] <your opener weapon here>
/cast [equipped: <your combat weapon here>] Sinister Strike; [equipped: <your opener weapon here>] Ambush

Just an addition to the first macro. Depending on your stance, it will equip the appropriate weapon, and when that weapon is equipped it should cast the appropriate "spell." Once again, this is for the lazy people.




EDIT2: Aparently I glossed over the fact that you were talking about swapping OH weapons. If thats the case, Demea's macro should work. If not, its probably because the game is executing the statements in order from top to bottom, and since the first statement is true, it doesnt move to the second statement. You would need to put them all in one line. Something like:

/equip [equipped: <weapon1>] <weapon2>; [equipped: <weapon2>] <weapon1>

The game should go through the whole statement before making a choice. Hope this helps.

Edited, Jan 23rd 2008 10:00pm by Untoucheable

Edited, Jan 23rd 2008 10:18pm by Untoucheable
#10 Jan 23 2008 at 7:09 PM Rating: Excellent
Official Shrubbery Waterer
*****
14,659 posts
http://wow.allakhazam.com/forum.html?forum=21;mid=116883829810394261;num=169;page=1

I'd guess something like the following would work, like Quor suggested:

/equip [equipped:<name of first item>] <name of second item>
/equip [equipped:<name of second item>] <name of first item>
____________________________
Jophiel wrote:
I managed to be both retarded and entertaining.

#11 Jan 23 2008 at 8:01 PM Rating: Good
***
2,826 posts
I tried a macro and it worked to put the dagger in, but never worked to put the sword back in.

I found a mod called Rswapper that did it wonderfully, but I had to wipe my mods and didn't get it again so I don't know where I got it from.

Just look for Rswapper I suppose.

It puts the dagger of your choice in MH when you stealth and puts the sword of your choice back in MH when you come out.

Edited: It works for offhand as well, but its built-in modifier is stealth, so I don't know if it would work for you.

Edited, Jan 23rd 2008 10:03pm by Bigdaddyjug
#12 Jan 23 2008 at 9:23 PM Rating: Decent
****
4,297 posts
The Demea of Doom wrote:
http://wow.allakhazam.com/forum.html?forum=21;mid=116883829810394261;num=169;page=1

I'd guess something like the following would work, like Quor suggested:

/equip [equipped:<name of first item>] <name of second item>
/equip [equipped:<name of second item>] <name of first item>


this one would have been pretty funny before weapon swaps were tied to the gcd :)
#13 Jan 23 2008 at 10:08 PM Rating: Excellent
Official Shrubbery Waterer
*****
14,659 posts
axhed wrote:
The Demea of Doom wrote:
http://wow.allakhazam.com/forum.html?forum=21;mid=116883829810394261;num=169;page=1

I'd guess something like the following would work, like Quor suggested:

/equip [equipped:<name of first item>] <name of second item>
/equip [equipped:<name of second item>] <name of first item>


this one would have been pretty funny before weapon swaps were tied to the gcd :)

Especially if you bound Sinister Strike to the same macro. Smiley: laugh
____________________________
Jophiel wrote:
I managed to be both retarded and entertaining.

#14 Jan 24 2008 at 8:29 AM Rating: Good
Terrorfiend
*****
12,905 posts
Warchief Tyrandor wrote:
Bummer. Button space is at premium obviously. Well, I'll guess I'll have to deal with it somehow.



well if you want to "click" you can create button space with a bar mod and put a button cluster up wherever you want. If by button space you mean keyboard button, then cant really help you there.
#15 Jan 24 2008 at 9:22 AM Rating: Excellent
I still need to put the macro in a button space in order to keybind it >_>
#16 Jan 24 2008 at 9:32 AM Rating: Good
Warchief Tyrandor wrote:
I still need to put the macro in a button space in order to keybind it >_>


99% of bar mods allow you to have invisible bars with buttons on them. I think you can even do this with the default UI - make a sidebar visible, but the button on it, assign the keybinding then hide it.

Anyway...

/equipslot 17 Name of Item 1
/equipslot 17 Name of Item 2

Should work. It'll equip whichever one of those is currently in your bags to your OH. What exactly are you switching, though?
#17 Jan 24 2008 at 9:36 AM Rating: Excellent
Offhand.

In order to be able to shiv two different poisons.

I should have done that a long time ago, it's a wonder I managed to break 1850 without it.
#18 Jan 24 2008 at 9:38 AM Rating: Good
Well, that makes a lot of sense.

Anyway, that should work so give it a whirl.
#19 Jan 24 2008 at 10:00 AM Rating: Good
**
704 posts
Warchief Tyrandor wrote:
I still need to put the macro in a button space in order to keybind it >_>


Use Bongos and bind things without ranks from within the spell book, no button space required.

Bongos also doubles the amount of buttons you get. Blizzard UI = 60, Bongos = 120.
#20 Jan 24 2008 at 2:54 PM Rating: Decent
*
161 posts
I use outfitterFU in the mirage UI.

Can be set up off your stealth/unstealth.

When I stealth it pulls two daggers and as soon as I come out of stealth it throws my sword back into my main hand (at least used to, use daggers now for entertainment)

Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 56 All times are in CST
Anonymous Guests (56)