Yoko

All sides of Injection
It is currently 2025-10-16 18:04:30

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2009-09-24 18:38:53 
Offline

Joined: 2009-09-24 18:34:30
Posts: 1
Вообщем может кто написать скрипт..
Суть скрипта..
Просто чтобы кидал СТрелку Arrow во всех без астоновочно ток не по лас таргету а просто если кто-то рядом пробегает он кидает стрелку нету не кидает..
Ну если это возможно


Top
   
 Post subject:
PostPosted: 2009-09-26 20:22:56 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub AutoArrow()
  dim char[2]

  char[0]='тип мужского персонажа'
  char[1]='тип женского персонажа'
  var delay = 3000

  var i
  uo.Ignore('self') # чтобы не находили себя
  uo.Set('finddistance','5') #радиус поиска
  repeat
    for i = 0 to 1
      uo.FindType(char[i],'-1','ground')
      if uo.FindCount() then
        uo.Cast('Arrow','finditem')
        wait(delay)
      else
        uo.Print('Scanning...')
        wait(1000)
      endif
    next
  until uo.Dead()
end sub


Забиваем типы, указываем задержку. Проверку на ману добавляем сами, если требуется.


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