Yoko

All sides of Injection
It is currently 2025-12-03 23:28:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2006-12-05 00:20:12 
Offline

Joined: 2006-12-05 00:12:33
Posts: 4
Вот у меня такой скрипт на Inscription:

Code:
sub Inscription()

uo.print ("Где ручка?!")
uo.exec('addobject Pen')
while uo.targeting()
wait(100)
wend
wait(1000)

uo.print ("Где оригинал книги?")
uo.exec('addobject Obook')
while uo.targeting()
wait(100)
wend
wait(1000)

uo.print ("В какую книгу будем копировать?")
uo.exec('addobject Cbook')
while uo.targeting()
wait(100)
wend
wait(1000)

uo.waittargetobject( 'Cbook, Obook' )
uo.useobject( 'Pen' )

end sub


Мне надо, чтоби при нажатея на обект PEN, ловушка поподала на Obook, а затем сразу на Cbook. Если оставить один обект в uo.waittargetobject, то всё работает, а если два, то нифига :(

Помогите, люди добрые


Top
   
 Post subject:
PostPosted: 2006-12-05 03:34:57 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
А справку читать не модно?
http://yoko.com.ua/help/help.php?lang=r ... rgetobject

Ты банально неверно пишешь, надо так:
Code:
uo.waittargetobject( 'Cbook', 'Obook' ) 


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