Page 1 of 1

Body 'cut'

Posted: 2006-02-26 17:02:07
by SoulS XD
Is it possible to make a script that...afther you kill a guy....it cut his body right away...like...

you're on a mass...and you dont wanna to your enemies be able to ressurect your oponent...so you cut his body and we be able to be ress with all items equiped...

thnx

Posted: 2006-02-26 17:09:27
by flake

Code: Select all

sub Cutter()
var ser 
  repeat 
    uo.deletejournal()
          repeat
             wait(50)
          until uo.injournal('Body')
        ser = uo.getserial('lastcorpse')
        while uo.getdistance(ser) > 4
          wait(50)
        wend
          uo.setarm('arm1')
          uo.waittargetobject(ser) 
          uo.usetype('0x13FE') ; cleaver type
          wait(500)
          uo.arm('arm1')           
  until uo.dead()
endsub

Posted: 2006-02-27 05:27:03
by SoulS XD
flake wrote:

Code: Select all

sub Cutter()
var ser 
  repeat 
    uo.deletejournal()
          repeat
             wait(50)
          until uo.injournal('Body')
        ser = uo.getserial('lastcorpse')
        while uo.getdistance(ser) > 4
          wait(50)
        wend
          uo.setarm('arm1')
          uo.waittargetobject(ser) 
          uo.usetype('0x13FE') ; cleaver type
          wait(500)
          uo.arm('arm1')           
  until uo.dead()
endsub


thnxx

XD