Yoko

All sides of Injection
It is currently 2025-10-30 01:19:12

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Нарезка рыбы
PostPosted: 2008-08-15 19:54:09 
Offline

Joined: 2008-08-12 14:31:52
Posts: 8
Искал по поискам везде, не нашёл скрипт на простую нарезку рыбы, рыба уже лежит на полу в кучке, нужно чтобы он брал и резал и складывал на пол в кучу, есть такое?


Top
   
 Post subject:
PostPosted: 2008-08-15 20:04:36 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Попробуй, не тестировал.

Code:
sub Fish_Rezka()
  var Fish=Тип рыбы
  var Dagger=ID даггера
  var Stake=Тип стейка, получаемого после резки
  var Sunduk=ID сундука куда кладём стейки

  uo.UseObject(Sunduk)
  wait(1000)
  uo.FindType(Fish,'-1','ground')
  while uo.FindCount>0
    uo.MoveItem('finditem','300')
    wait(750)
    uo.WaitTargetObject('finditem')
    uo.UseObject(Dagger)
    wait(200)
    uo.FIndType(Stake,'-1','backpack')
    if uo.FindCount() then
      uo.moveitem('finditem','all',Sunduk)
      wait(750)
    end if
    uo.FindType(Fish,'-1','ground')
  wend
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 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