AutoChop Script

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
DaZZ
Posts: 3
Joined: 2010-08-07 22:53:01

AutoChop Script

Post 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
DaZZ
Posts: 3
Joined: 2010-08-07 22:53:01

Re: AutoChop Script

Post by DaZZ »

Can anyone help?
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: AutoChop Script

Post by Mirage »

chop body as tree? :shock:
Or you want to cut the body?

эээ чегото я сленгово разговорный инглишь иногда не понимаю... Он тело собрался рубить в капусту? :)
DaZZ
Posts: 3
Joined: 2010-08-07 22:53:01

Re: AutoChop Script

Post by DaZZ »

I want to cut any corpse around me.
Savage
Expert!
Posts: 1205
Joined: 2004-04-04 11:13:54
Location: Балаково, Саратовская обл.
Contact:

Re: AutoChop Script

Post 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
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: AutoChop Script

Post 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 порезка.
Post Reply