Yoko

All sides of Injection
It is currently 2025-12-22 05:03:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2008-08-21 03:28:15 
Offline

Joined: 2008-03-03 02:16:35
Posts: 45
Я играю на рануо шарде, с прекастом. Это значит что при касте магии, сначала спелл кастуется, а после уже появляется прицел. Сейчас я пользуюсь такой конструкцией ласттаргета:

Code:
if not uo.targeting() then
uo.waittargetlast()
end if


То есть установка ловушки прицела.
Хотелось бы перейти к такому виду:

Code:
Ждем прицела
Дальше я проверяю условиями, если совпадает
uo.target('0x00000001', 'lastattack')


Собственно затруднения у меня на стадии - как осуществить ожидание прицела?


Top
   
 Post subject:
PostPosted: 2008-09-14 19:50:00 
Offline

Joined: 2008-03-03 02:16:35
Posts: 45
Кто нибудь? :)


Top
   
 Post subject:
PostPosted: 2008-09-14 21:11:03 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
while not uo.targeting()
    wait(100)
wend

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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