Page 1 of 1

Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 2:41 pm
by Domwop
Hey guys,
I was wondering if any working "eat/drink-in-one-button"-macro is out there? Merging two buttons in one, even if I have to press it two times, would be great. Can you help me here?


Thanks
-Dom

Re: Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 2:44 pm
by CodyMueller
You might find some success using the addon Arcanum.

http://addons.us.to/addon/arcanum

Re: Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 3:04 pm
by Domwop
CodyMueller wrote:You might find some success using the addon Arcanum.

http://addons.us.to/addon/arcanum


I'll check that out, thanks pal!

Re: Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 3:08 pm
by CodyMueller
If you need some help setting it up in-game let me know - Progression (A)

Re: Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 3:11 pm
by Domwop
Domwop wrote:
CodyMueller wrote:You might find some success using the addon Arcanum.

http://addons.us.to/addon/arcanum


I'll check that out, thanks pal!


I'm using the default ui and I try to avoid any addons which will fill my screen. Unfortunately Arcanum does it. Is there any other solution to get a drink/eat macro?

-Dom

Re: Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 3:34 pm
by Dreez
only if the food/drinks are on the same spot in your inventory all the time
Code: Select all
/run local u=UseContainerItem v=0 i=1 while UnitBuff("player", i)do d=UnitBuff("player", i)if d=="Interface\\Icons\\INV_Drink_18"then v=1 end i=i+1 end if(v==0)then u(0,1)end u(0,2)

for the first two slots in your main bag
in this case:
0= bag ID (0-5)
1/2= itemslot ID (1-18)

note: you will have to press it twice
this will not let you use the first slot if you're already drinking


or simply use supermacro, that addon does not have interface features to my knowledge

Re: Drink/Eat macro?

PostPosted: Thu Jan 07, 2016 6:34 pm
by Domwop
Dreez wrote:only if the food/drinks are on the same spot in your inventory all the time
Code: Select all
/run local u=UseContainerItem v=0 i=1 while UnitBuff("player", i)do d=UnitBuff("player", i)if d=="Interface\\Icons\\INV_Drink_18"then v=1 end i=i+1 end if(v==0)then u(0,1)end u(0,2)

for the first two slots in your main bag
in this case:
0= bag ID (0-5)
1/2= itemslot ID (1-18)

note: you will have to press it twice
this will not let you use the first slot if you're already drinking


or simply use supermacro, that addon does not have interface features to my knowledge


This macro works fine but it's annoying as hell to put all your conjured items on a specific slot.
I started to use Supermacro with this command:

Code: Select all
/script UseItemByName("Conjured Cinnamon Roll"); UseItemByName("Conjured Crystal Water");[


This in combination with Supermacro allows me to use all my conjured items anywhere in my bags, so it's much easier to handle.

Thanks to Dreez and CodyMueller.

Re: Drink/Eat macro?

PostPosted: Sat Jan 16, 2016 2:55 am
by Youfie
Alteratively, you can use the /script UseAction(X); commande.

It allows you to trade the "items have to be in the same bag spot all the time requirement" for a "items have to be in the same bar slot all the time", which is far less inconvenient in my opinion - and you don't need SuperMacro :).