Yoko

All sides of Injection
It is currently 2018-12-13 18:43:48

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2012-04-14 18:52:09 
Offline

Joined: 2012-04-14 18:47:48
Posts: 1
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Google [Bot] 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited