Yoko

All sides of Injection
It is currently 2025-11-02 23:39:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to make target next?
PostPosted: 2006-03-25 17:41:25 
Offline

Joined: 2005-10-03 00:34:31
Posts: 7
hi all.
i would like to know hjow to make a kind of target next but except my friends..

thanx


Top
   
 Post subject:
PostPosted: 2006-03-25 17:55:08 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
As i know, you there aren't any command to make you questions in script


Top
   
 Post subject:
PostPosted: 2006-03-25 18:38:44 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
you can make some simulations...
Code:
sub Init()
uo.SetGlobal('lastfind', uo.GetSerial('self'))
end sub

sub TargetNext()
uo.ignore(uo.GetGlobal('lastfind'))
uo.findtype('0x0190', -1, 'ground')
if not uo.findcount() then
uo.SetGlobal('lastfind', uo.GetSerial('self'))
uo.ignorereset()
else
uo.getstatus('finditem')
uo.SetGlobal('lastfind', uo.GetSerial('finditem'))
return uo.GetSerial('finditem')
end if
return 0
end sub


Before useing TargetNext() you must run Init() one time!
TargetNext() work only with male characters, but you easyly can make for both... TargetNext() can be use for retuurn serial of next target(if function return 0? nothing was found


Top
   
 Post subject:
PostPosted: 2006-03-27 00:57:39 
Offline

Joined: 2005-10-03 00:34:31
Posts: 7
interesting, now how to attack or target that with a spell?

like i do with keyboard targetnext , then "attacklast lasttarget"


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 16 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