PDA

View Full Version : Question about macros...


kaz
11-19-2004, 09:22 PM
I know absolutely nothing about macros but wanted to know if this is possible...

Let's say I'm a rogue and normally wear two swords and when I want to ambush someone... is there anyway to make a macro that will switch my main to a dagger, ambush, then switch back?

same for backstabbing... any hope for it?

sarf
11-19-2004, 10:45 PM
Yes.

Sarf
---
"Get your facts first, then you can distort them as you please." - Mark Twain

kaz
11-19-2004, 11:39 PM
k how :)

sarf
11-20-2004, 10:43 AM
http://www.wowwiki.com/index.php/Item_equipping

Sarf
---
To iterate is human, to recurse, divine.

kaz
11-21-2004, 07:55 PM
Okay so it's something like this to change from a sword -> Dagger then amush, then go back to sword?

/script UseContainerItem(bag, slot);

/use ambush command (whatever the command is)

/script UseContainerItem(bag, slot);

And I put it in a macro and it works?

sarf
11-21-2004, 08:50 PM
Basically, yes.

bag, slot will have to be replaced with the places where you have put your dagger / sword, of course.

You can shift-click on skills in your "spellbook" to get them into your macro (macro window have to be open for this to work).

Sarf
---
Back up my hard drive? How do I put it in reverse?

kaz
11-21-2004, 08:51 PM
okay, thanks sarf ;]

kaz
11-24-2004, 12:55 AM
Just to test it i tried

/script UseContainerItem(1,1);
/cast Sinister Strike(Rank 2)
/script UseContainerItem(1,1);


And it didn't work :(


What did i do wrong?

kaz
11-24-2004, 01:15 AM
Just to test it i tried

/script UseContainerItem(1,1);
/cast Sinister Strike(Rank 2)
/script UseContainerItem(1,1);


And it didn't work :(


What did i do wrong?

jafo2com
11-24-2004, 10:01 AM
I have a suggestion to try until you get your macro working. Open your character window and drag your primary weap down to your hotkey bar. Open your bag and drag the slot where your dagger is located to a position on the hotkey bar next to the prim weap slot hotkey. When you need to use the dagger, just click on the bag slot hotkey, hit your SS, then click on your prim hotkey to go back to your sword. If you are good with keypresses, you can have all 3 hotkeys lined up, say in slots 1-3 on your bar - bag, SS, prim. To perform the sequence you just press 1, then 2, then 3, and you "should" be good to go.

I have this set up as an alternative to the tacklebox add-on for, you guessed it, swapping fishing pole for primary weap.