Nefarian unequip weapon macro

Nefarian unequip weapon macro

by Devilhunter » Tue Oct 20, 2015 7:28 am

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
[Serveur PvP] <Awaken>: rejoignez une des meilleures guildes PvE francophone sur Nostalrius (côté horde) !
Canal guilde, Mumble et forum francophone.

Plus d'infos :
- /w Devilhunter
- awaken.eu.com
User avatar
Devilhunter
Senior Sergeant
Senior Sergeant
 

Re: Nefarian unequip weapon macro

by Overtime » Tue Oct 20, 2015 12:59 pm

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.
User avatar
Overtime
Sergeant Major
Sergeant Major
 

Re: Nefarian unequip weapon macro

by Erou » Tue Oct 20, 2015 3:37 pm

La Vendeta Boss Mod add-on should do this for you, just need one empty slot in your bags.
Erou
Senior Sergeant
Senior Sergeant
 

Re: Nefarian unequip weapon macro

by Devilhunter » Wed Oct 21, 2015 4:32 am

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
[Serveur PvP] <Awaken>: rejoignez une des meilleures guildes PvE francophone sur Nostalrius (côté horde) !
Canal guilde, Mumble et forum francophone.

Plus d'infos :
- /w Devilhunter
- awaken.eu.com
User avatar
Devilhunter
Senior Sergeant
Senior Sergeant
 

Re: Nefarian unequip weapon macro

by Overtime » Wed Oct 21, 2015 6:57 am

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.
User avatar
Overtime
Sergeant Major
Sergeant Major
 

Re: Nefarian unequip weapon macro

by Devilhunter » Wed Oct 21, 2015 11:02 am

Strange, i tested it and i dont have it again.

Don't know why.
[Serveur PvP] <Awaken>: rejoignez une des meilleures guildes PvE francophone sur Nostalrius (côté horde) !
Canal guilde, Mumble et forum francophone.

Plus d'infos :
- /w Devilhunter
- awaken.eu.com
User avatar
Devilhunter
Senior Sergeant
Senior Sergeant
 


Return to Hunter