Forum Settings
       
Reply To Thread

Macro to throw Dynamite?Follow

#1 Jul 30 2005 at 10:59 AM Rating: Decent
40 posts
Anybody knows how to add throwing a stick of Rought Dynamite to a macro??

Thanks
#2 Aug 04 2005 at 12:43 PM Rating: Decent
how about doing this instead...

Open up your bag, whichever one has the dynamite. Click and hold on the Dynamite and drag it down to your action bar, in whichever location you like best. Now do the same for any other item that you want to be able to use quickly, such as healing potions. Now, when you want to use the dynamite, click on the icon that you put on your action bar, aim the dynamite to where you want it to go, and presto. You have a quick way of throwing dynamite.

It might also help to go into the interface options (press escape once) and make it to where another action bar is on the screen, (i use both bottom action bars) this lets you have multiple action bars on screen at once, eliminating the need for shifting between them. Now, the only problem that you might have for this is that it can clutter up the screen.



As far as a macro, I do not know of any macro that would let you use dynamite, because you have to aim it as well, it is much easier to drag the dynamite to your action bar, just like you do with your spells.
#3 Dec 11 2005 at 10:57 PM Rating: Decent
I think you missed the point of this question.

The asker like me wants a macro that will do a
/em throws dynamite
when he throws it

I would like one that says something like
/em heads up %t. Incomming
/script throw grenade etc.


I personnaly would be happy with just finding something that would load the dynamite ready to throw from a macro. i can hack out the rest. i hope
#4 Dec 12 2005 at 1:12 PM Rating: Good
***
3,771 posts
/script UseContainerItem(bag,slot)

where bag and slot indicate where the dynamite is in your bags.
bag is a number 0-4, 0 being your backpack and 4 being the leftmost bag, slot is a number 1-16 showing the position in that bag where 1 is top left and 16 is the bottom right slot.

As said there is no way to actually throw the dynamite, but this will load the dynamite onto the cursor for you to aim and throw.
#5 Dec 13 2005 at 9:08 AM Rating: Decent
****
4,575 posts

good macro but that means you need to have the item in same bag same slot every time...doable but maybe a bit tedious in a dire situation and you have grenades but they just were in wrong slot.



#6 Mar 15 2006 at 9:18 PM Rating: Decent
*
120 posts
I use this in Supermacro for anything I want to hotkey in my inventory. Basically: Look for the item, assign it's location to those variables, and call the UseContainerItem function using those variables.

/script t="Rough Dynamite";for b=0,4 do for s=1,GetContainerNumSlots(b) do y=GetContainerItemLink(b,s) if y and string.find(y,t) then UseContainerItem(b,s);end;end;end;
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

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