Yoko

All sides of Injection
It is currently 2026-01-18 00:19:12

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: AutoChop Script
PostPosted: 2010-08-07 22:54:51 
Offline

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


Top
   
 Post subject: Re: AutoChop Script
PostPosted: 2010-08-08 16:49:36 
Offline

Joined: 2010-08-07 22:53:01
Posts: 3
Can anyone help?


Top
   
 Post subject: Re: AutoChop Script
PostPosted: 2010-08-08 18:28:16 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
chop body as tree? :shock:
Or you want to cut the body?

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

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject: Re: AutoChop Script
PostPosted: 2010-08-09 04:06:50 
Offline

Joined: 2010-08-07 22:53:01
Posts: 3
I want to cut any corpse around me.


Top
   
 Post subject: Re: AutoChop Script
PostPosted: 2010-08-09 17:47:29 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
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


Top
   
 Post subject: Re: AutoChop Script
PostPosted: 2010-08-09 18:26:30 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
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 порезка.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited