Yoko

All sides of Injection
It is currently 2025-12-15 02:17:40

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: cleaning bandage
PostPosted: 2010-12-04 17:03:49 
Offline

Joined: 2010-12-01 08:01:12
Posts: 19
Code:
sub BandageClean() 

  UO.UseType("0x0E20")
  UO.waittargettype("0x0B44")
   Wait(200)
  UO.FindType("0x0E20")
  Uo.MoveItem("finditem","-1","backpack")
 
End Sub



0x0B44 is a WATER TROUGH

if i run it:
What do you want to use bloody bandage on?
Previous Targeting Cancelled
Unexpected target info


Top
   
 Post subject: Re: cleaning bandage
PostPosted: 2010-12-07 19:48:08 
Offline
User avatar

Joined: 2010-10-01 16:47:41
Posts: 75
Code:
  UO.waittargettype("0x0B44")
  UO.UseType("0x0E20")
   Wait(200)

Может так? waitarget устанавливает ловушку на таргет, который появится в будущем. Его нужно устанавливать _ДО_ того, как сделаешь use... чего-то.

_________________
Все мы славные ребята, простые русские парни, железные люди с деревянными головами...


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