Page 1 of 1
AutoChop Script
Posted: 2010-08-07 22:54:51
by DaZZ
Can anyone assist me with a AutoChop human corpse script?
Basically right after I kill someone I need it to chop any human corpse around me.
Thank,
DaZZ
Re: AutoChop Script
Posted: 2010-08-08 16:49:36
by DaZZ
Can anyone help?
Re: AutoChop Script
Posted: 2010-08-08 18:28:16
by Mirage
chop body as tree?
Or you want to cut the body?
эээ чегото я сленгово разговорный инглишь иногда не понимаю... Он тело собрался рубить в капусту?

Re: AutoChop Script
Posted: 2010-08-09 04:06:50
by DaZZ
I want to cut any corpse around me.
Re: AutoChop Script
Posted: 2010-08-09 17:47:29
by Savage
Code: Select all
sub Chopper()
VAR CorpseType='0x0000' ; change this to real type
VAR CutterType='0x0000' ; and this
VAR Distance=3 ; valid distance to cut corpse
Start:
UO.FindType(CorpseType,-1,'ground')
If UO.FindCount() Then
If UO.GetDistance('finditem')<=Distance Then
UO.WaitTargetObject('finditem')
UO.UseType(CutterType)
wait(1000)
Else
Ignore('finditem)
Goto Start
End if
End if
IgnoreReset()
end sub
Re: AutoChop Script
Posted: 2010-08-09 18:26:30
by Mirage
Code: Select all
sub REZ()
var body = '0x2006'
var dagger = '0x0F51'
var corpse
UO.Set('quiet','1')
;uo.ignorereset()
uo.set('finddistance', '3')
uo.findtype(body, -1, 'ground')
if uo.findcount() and Uo.GetDistance( 'finditem' ) < 3 then
var x = uo.GetGraphic(uo.ObjAtLayer('Lhand'))
var y = uo.GetGraphic(uo.ObjAtLayer('Rhand'))
uo.warmode(0)
wait(500)
corpse = uo.getSerial("finditem")
UO.WaitTargetObject(corpse)
UO.UseType(dagger)
wait(1000)
uo.Equipt('Lhand',x)
uo.Equipt('Rhand',y)
; Loot()
uo.warmode(1)
endif
мой не в цикле. 1 труп 1 порезка.