Yoko

All sides of Injection
It is currently 2025-12-03 08:48:20

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2006-11-25 18:17:16 
Offline

Joined: 2006-11-19 10:00:46
Posts: 8
У меня такая проблема, есть пещера, в ней стоит сундук банковский, как сделать так чтобы он в него скидывал например выкопаную руду, обьясните просто как заставить туда складывать, как выкопать и как подойти к сундуку я знаю, просто нельзя в него бросить методом перетаскивания, нужно обязательно открывать. Подскажите, а?


Top
   
 Post subject:
PostPosted: 2006-11-25 19:00:11 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
поиск знает все...
http://forum.yoko.com.ua/viewtopic.php?p=54294#54294


Top
   
 Post subject:
PostPosted: 2006-11-25 19:29:29 
Offline
User avatar

Joined: 2006-08-05 14:09:06
Posts: 270
Когда задаешь такие вопросы, нужно как минимум указать как открывается банк, сказав "bank" или дабл кликом?

_________________
ДРВ
Spoiler
_________________
Антарес
Spoiler|Gostrabaiter|Umhra|Slog


Top
   
 Post subject:
PostPosted: 2006-11-26 01:49:50 
Offline

Joined: 2006-11-19 10:00:46
Posts: 8
банк открывается двойным кликом..


Top
   
 Post subject:
PostPosted: 2006-11-26 02:09:47 
Offline
User avatar

Joined: 2006-08-05 14:09:06
Posts: 270
А что именно непонятно, как открыть банк или как переложить руду?

Открывается банк обычным uo.usetype(type,[color]),

А чтоб переложить, ненужно мудрить, брось в банк какойнибудь контейнер (сундук, мешок). И перекладывай в него. Предварительно создав массив с типами руды.
Code:
Sub DropOre() 
uo.Print('Начинаем разгрузку.')
if uo.Waiting() then
uo.CancelTarget()
end if
var a,Exit
dim Ruda[1]
Ruda[0]=0x19B9
uo.Print('Выкладываем руду.')
uo.SetReceivingContainer(Sunduk2)
wait(500)
for a=0 to 0
Exit=0
repeat
uo.FindType(Ruda[a])
if uo.GetQuantity('finditem')>0 then
uo.Grab('0','finditem')
wait(1500)
else
Exit=1
end if
until Exit==1
next
if SteikFat==1 then
SteikFat()
end if
uo.UnSetReceivingContainer(Sunduk2)
uo.Print('Руда Выложена.')
end sub

_________________
ДРВ

Spoiler

_________________

Антарес

Spoiler|Gostrabaiter|Umhra|Slog


Top
   
 Post subject:
PostPosted: 2006-11-26 10:21:02 
Offline

Joined: 2006-11-19 10:00:46
Posts: 8
спасибо


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:  
Powered by phpBB® Forum Software © phpBB Limited