Page 1 of 1

Nefarian unequip weapon macro

PostPosted: Tue Oct 20, 2015 7:28 am
by Devilhunter
Hey,

Because NRB don't allow to switch weapons while auto attacking (which is not blizzlike), i write this macro to allow us to unequip bow/gun on the hunter clas call of Nefarian :

Code: Select all
/script AttackTarget()
/script ClearTarget()
/script TargetLastTarget()
/run local p,s="player",18 if GetInventoryItemLink(p,s)then PickupInventoryItem(s)PutItemInBackpack()end


It work great. It's very easy to write a macro to desequip/equip your ranged weapon in one button, but it's very risky and i prefer have a bind on this macro, and another on my bow.

Dev

Re: Nefarian unequip weapon macro

PostPosted: Tue Oct 20, 2015 12:59 pm
by Overtime
Code: Select all
/run local p,s="player",18 if GetInventoryItemLink(p,s)then PickupInventoryItem(s)PutItemInBackpack()else PickupContainerItem(0,1)EquipCursorItem(s)end


Empty first bag slot.

Re: Nefarian unequip weapon macro

PostPosted: Tue Oct 20, 2015 3:37 pm
by Erou
La Vendeta Boss Mod add-on should do this for you, just need one empty slot in your bags.

Re: Nefarian unequip weapon macro

PostPosted: Wed Oct 21, 2015 4:32 am
by Devilhunter
The reason of this post is because your both solution doesnt work because on NR it's impossible to switch weapon while autoshooting :
- your macro says "another action is on progress", need to add 3 firsts lines
- Vendetta crash on it

Re: Nefarian unequip weapon macro

PostPosted: Wed Oct 21, 2015 6:57 am
by Overtime
Devilhunter wrote:The reason of this post is because your both solution doesnt work because on NR it's impossible to switch weapon while autoshooting :
- your macro says "another action is on progress", need to add 3 firsts lines


Never had that problem.

Re: Nefarian unequip weapon macro

PostPosted: Wed Oct 21, 2015 11:02 am
by Devilhunter
Strange, i tested it and i dont have it again.

Don't know why.