Yoko
http://forum.yoko.com.ua/

разбрасывание веток
http://forum.yoko.com.ua/viewtopic.php?f=20&t=1616
Page 1 of 1

Author:  pivovar [ 2004-10-16 10:06:42 ]
Post subject:  разбрасывание веток

прошу дать скрипт или подкоректировать этот
Code:
sub vetki() 
var x
  if uo.getglobal('vetki')=='1' then
    uo.print('Vetki system allready on')
    goto exit2
  end if
  uo.setglobal('vetki','1')
  UO.Set('lasttarget','laststatus')
  x=uo.getserial('lasttarget')
  uo.findtype("0x1B9B")
  if uo.findcount() then
    uo.drop("1",str(uo.getx(x)-1),str(uo.gety(x)),0,"finditem")
  end if
  wait(200)
  uo.findtype("0x1B9B")
  if uo.findcount() then
    uo.drop("1",str(uo.getx(x)),str(uo.gety(x)+1),0,"finditem")
  end if
  wait(200)
  uo.findtype("0x1B9B")
  if uo.findcount() then
    uo.drop("1",str(uo.getx(x)+1),str(uo.gety(x)),0,"finditem")
  end if
  wait(200)
  uo.findtype("0x1B9B")
  if uo.findcount() then
    uo.drop("1",str(uo.getx(x)),str(uo.gety(x)-1),0,"finditem")
  end if
  uo.setglobal('vetki','0')
  exit2:
  uo.print('DROPPED')
end sub

просто мой скрипт разбрасывает ветки вокргуг мешени примерно так

X- ВЕТКА 0 - МИШЕНЬ
Code:
  X
 X0X
  X

А Я ХОЧУ ТАК ПЛИЗ ПОДКОРЕКТИРУЙТЕ А ТОЯ В ЭТОМ НЕРУЛЮ
Code:
XXX
X0X
XXX



и еще плиз есле есть возможность чтобы потом он все эти ветки с пола подобрал А то влом руками ;))

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/