Warrior Macros

Warrior Macros

by Campana » Mon Jan 11, 2016 10:06 pm

Anyone that could help me with a weapon swapping macro?

I've tried: /equipslot 16 [weapon] /equipslot 17 [shield] and it doesn't seem to work.
Campana
Tester
 

Re: Warrior Macros

by Roadblock » Mon Jan 11, 2016 10:27 pm

I would suggest ItemRack and then the macro becomes as simple as /itemrack equip "1HShield"
(or whatever set name)

http://addons.us.to/addon/itemrack-0
Astaldo @ Nostalrius PvE (Alliance)
Addons I've posted on Forum
User avatar
Roadblock
Senior Sergeant
Senior Sergeant
 

Re: Warrior Macros

by Dreez » Tue Jan 12, 2016 1:24 am

Code: Select all
/run local i,j p=PickupContainerItem e=EquipCursorItem for i=0,4,1 do for j=1,18,1 do d=GetContainerItemInfo(i,j) if d=="Interface\\Icons\\INV_Stone_04"then p(i,j)e(16)end if d=="Interface\\Icons\\INV_Potion_54"then p(i,j)e(17)end end end


replace the textures by your weapon / shield texture, make sure to add 2 \ (not sure why but only works with 2)
you can get the texture from either a database or putting it in your main backpack, first slot and using this macro:
Code: Select all
/run ChatFrame1:AddMessage(GetContainerItemInfo(0,1))


(using itemrack is easier)
Dreez - PvP server
<Endzeit>
User avatar
Dreez
Knight-Lieutenant
Knight-Lieutenant
 


Return to Addons & macros