Yoko
http://forum.yoko.com.ua/

AutoChop Script
http://forum.yoko.com.ua/viewtopic.php?f=17&t=15827
Page 1 of 1

Author:  DaZZ [ 2010-08-07 22:54:51 ]
Post subject:  AutoChop Script

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

Author:  DaZZ [ 2010-08-08 16:49:36 ]
Post subject:  Re: AutoChop Script

Can anyone help?

Author:  Mirage [ 2010-08-08 18:28:16 ]
Post subject:  Re: AutoChop Script

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

эээ чегото я сленгово разговорный инглишь иногда не понимаю... Он тело собрался рубить в капусту? :)

Author:  DaZZ [ 2010-08-09 04:06:50 ]
Post subject:  Re: AutoChop Script

I want to cut any corpse around me.

Author:  Savage [ 2010-08-09 17:47:29 ]
Post subject:  Re: AutoChop Script

Code:
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

Author:  Mirage [ 2010-08-09 18:26:30 ]
Post subject:  Re: AutoChop Script

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/