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

target nearest (ближайший целевой)
http://forum.yoko.com.ua/viewtopic.php?f=17&t=16969
Page 1 of 1

Author:  guest396 [ 2012-04-14 18:52:09 ]
Post subject:  target nearest (ближайший целевой)

i'm trying to do a code to let me target the nearest object around,
but i'm not good with inj code, so right now this doesn't work at all
can someone explain me why?
thank you

google translate for russian:
Я пытаюсь сделать код, чтобы меня нацелены на ближайший объект вокруг,
но я не очень хорошо с кодом Inj, поэтому сейчас это не работает на всех
может кто-нибудь объяснить мне, почему?
спасибо

Code:
sub targetnearest()
var check = 0
repeat
Uo.Press(119) #client target next
UO.Ignore("self")
if UO.GetDistance("laststatus") <=5 then
check = 1
end if
UO.DeleteJournal()
until check > 0
end sub

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