Yoko

All sides of Injection
It is currently 2025-12-20 09:56:02

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2005-09-24 17:10:48 
Offline

Joined: 2005-09-24 17:09:16
Posts: 4
1. Как сделать чтобы вамп пил кровь с земли в радиусе 3х клеток ?
2. Как сделать, чтобы включался вар и была атака на ласт таргет ?


Top
   
 Post subject:
PostPosted: 2005-09-24 17:12:59 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
2.
Code:
sub attack()
UO.WarMode(1)
UO.Attack('laststatus')
endsub

_________________
Image


Top
   
 Post subject:
PostPosted: 2005-09-24 21:29:20 
Offline

Joined: 2005-09-24 17:09:16
Posts: 4
у меня ошибка какая то лезет! ((
Line 14: Parse Error а от этого как излечиться ? )


Top
   
 Post subject:
PostPosted: 2005-09-24 22:12:06 
Offline

Joined: 2005-09-24 17:09:16
Posts: 4
а всё :) сам разобрался )


Top
   
 Post subject:
PostPosted: 2005-09-24 22:47:43 
Offline

Joined: 2005-09-24 17:09:16
Posts: 4
а со 2м пунктом ? )


Top
   
 Post subject:
PostPosted: 2005-09-25 06:33:28 
Offline
User avatar

Joined: 2005-02-25 13:31:26
Posts: 62
Location: DRW, [Hussars]
Code:
sub vamp()
var t_blood='0x0000' # "Группа" крови
   uo.set('finddistance', '3')
   repeat
      uo.findtype('t_blood', '-1', 'ground')
      wait(500)
      uo.useobject('finditem')  # если кровь пьется двойным кликом по ней, то будет так
      wait(1000) # задержку сам подберешь
   until not uo.FindCount()
end sub


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 1 guest


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