Yoko

All sides of Injection
It is currently 2025-10-29 01:42:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2008-08-27 19:47:49 
Offline

Joined: 2007-07-01 21:23:58
Posts: 82
[code]
sub carve_corpse()
var device
uo.waittargetobject('lastcorpse')
device=uo.ObjAtLayer('Rhand')
uo.useobject(device)
end sub

sub podjom2()
uo.set('finddistance','3')
uo.findtype('0x0EB5','-1','1')
if uo.findcount() then
uo.grab('0','finditem')
endif
endsub

[code]

нужно обьединить их в один, чтобы одной кнопкой труп резался и луталась голова жертвы, помогите буду очень признателен[/code]


Top
   
PostPosted: 2008-08-27 19:51:43 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
ychenik wrote:
нужно обьединить их в один, чтобы одной кнопкой труп резался и луталась голова жертвы, помогите буду очень признателен


Code:
sub carve_corpse() 
   var device = ' ' #Тип оружия(думается)
   uo.waittargetobject('lastcorpse')
   uo.usetype(device)
   wait(200)
   podjom2()
end sub
Sub podjom2()
   uo.set('finddistance','3')
   uo.findtype('0x0EB5','-1','1')
   if uo.findcount() then
      uo.grab('0','finditem')
   endif
end sub


Top
   
 Post subject:
PostPosted: 2008-08-27 19:58:49 
Offline

Joined: 2007-07-01 21:23:58
Posts: 82
а разве так я смогу повесить этот скрипт на одну кнопку?


Top
   
 Post subject:
PostPosted: 2008-08-27 19:59:42 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
ychenik wrote:
а разве так я смогу повесить этот скрипт на одну кнопку?

В хоткей биндишь:
Code:
exec carve_corpse

и все.


Top
   
 Post subject:
PostPosted: 2008-08-27 20:05:01 
Offline

Joined: 2007-07-01 21:23:58
Posts: 82
спасиб огромное


Top
   
 Post subject:
PostPosted: 2008-08-27 20:06:07 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
ychenik wrote:
спасиб огромное

Не за что.


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: Bing [Bot] and 5 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