Thanx for all
I wrote something in that manner
Code:
#########################################################
# Attacker #
#########################################################
sub Attack()
var NPC
uo.findtype('0x000D','-1','ground')
NPC=UO.GetSerial('finditem')
UO.UseType('axe') ; Weapon
UO.UseType('shield') ; Shield
UO.Exec('warmode 1')
wait (100)
IF UO.GetDistance(NPC)<4 Then
uo.targeting('NPC')
wait(100)
UO.Attack(NPC)
wait(100)
endif
end sub
########### GO SCP ##############################################
sub go()
var NPC
uo.findtype('0x000D','-1','ground')
NPC=UO.GetSerial('finditem')
IF UO.GetDistance(NPC)>1 Then
WalkME(0,0,NPC)
endif
end sub
#########################################################
# WALKER #
#########################################################
sub WalkME(x,y,Target)
....
.....
It walks over the character that I attacked but it doesn't when the character -that I attacked- goes away from me to use magic. I need a script which makes me walk over other characters continous