03-03-2012, 03:05 PM
Probably your client dir isn't set up right Ramza, pay attention...
Anyways I made the simpliest version of autotarget script. Keep in mind though that it's very basic script and it most likely won't switch target as you press them, if anyone wants script that will switch targets, check for PKs or Gray players I can make one, not for free though ...;p Anyways, here it is so you get an idea of how it works.
sub targetto()
dim mw[2]
mw[0] = '0x0190'
mw[1] = '0x0191'
var i
UO.Ignore('self','on')
UO.Set('finddistance','12')
For i = 0 to 1
UO.FindType(mw[i],-1,'ground')
If UO.FindCount()>0 then
UO.AddObject('enemy','finditem')
endif
next
endsub
Anyways I made the simpliest version of autotarget script. Keep in mind though that it's very basic script and it most likely won't switch target as you press them, if anyone wants script that will switch targets, check for PKs or Gray players I can make one, not for free though ...;p Anyways, here it is so you get an idea of how it works.
sub targetto()
dim mw[2]
mw[0] = '0x0190'
mw[1] = '0x0191'
var i
UO.Ignore('self','on')
UO.Set('finddistance','12')
For i = 0 to 1
UO.FindType(mw[i],-1,'ground')
If UO.FindCount()>0 then
UO.AddObject('enemy','finditem')
endif
next
endsub