Equip Weapon & Shield

Mango

Grandmaster
Assign and equip weapon / sheild (Great for after recalling or getting disarmed)

if not @findlayer 'self' 1
equipitem 'weapon' 1
pause 100
if not @findlayer 'self' 1
promptalias 'weapon'
equipitem 'weapon' 1
endif
endif

if not @findlayer 'self' 2
equipitem 'sheild' 2
pause 100
if not @findlayer 'self' 2
promptalias 'sheild'
equipitem 'sheild' 2
endif
endif

thanks @Experience and @amonseti for pointing me in the right direction :D
 
Last edited by a moderator:

halygon

Grandmaster
Assign and equip weapon / sheild (Great for after recalling or getting disarmed)

if not @findlayer 'self' 1
equipitem 'weapon' 1
pause 100
if not @findlayer 'self' 1
promptalias 'weapon'
equipitem 'weapon' 1
endif
endif

if not @findlayer 'self' 2
equipitem 'sheild' 2
pause 100
if not @findlayer 'self' 2
promptalias 'sheild'
equipitem 'sheild' 2
endif
endif

thanks @Experience and @amonseti for pointing me in the right direction :D

I would do something like this:


Have a hotkey to set shield and weapon after placing them on your paperdoll:
Code:
//Finds object in the hands in your paperdoll and sets aliases to both
setalias 'Weapon' 'righthand'
setalias 'Shield' 'lefthand'


Have another hotkey to Arm/Disarm:
Code:
if not findobject 'righthand'
equipitem 'Weapon' 1
pause 100
equipitem 'Shield' 2
else
clearhands 'both'
endif

*Please note I typed the above off the top of my head so it has not been tested and may need to be tweaked prior to functioning 100%
 
Top