I got this part of a script I try to use, but it gives me an error and stops, it says : I can't locate your archery weapon
I play on a freeshard called ABCUO, dont know if it has anything to do with that ?
Script part below :
sub SetupWeapon
finditem %1 C_ , #CHARID
if #FINDKIND = -1
{
finditem %1 C_ , #BACKPACKID
if #FINDKIND <> -1
{
if #FINDTYPE in PPO
set #LHANDID %1
else
set #RHANDID %1
}
else
{
display ok I can't locate your archery weapon
stop
}
}
else
{
gosub DisarmWeapon
}
if #FINDTYPE in %crossbowtypes
{
menu Font BGColor BtnFace
menu delete EUOLabel32
menu Text EUOLabel32 176 196 Bolts
set %ammotype LNK ; LNK - crossbow bolts
}
else
{
menu Font BGColor BtnFace
menu delete EUOLabel32
menu Text EUOLabel32 176 196 Arrows
}
return
Post Merge: November 15, 2013, 03:21:37 AM
I found a work around and made it work now.... thanks :-)