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

How to make target next?
http://forum.yoko.com.ua/viewtopic.php?f=20&t=7130
Page 1 of 1

Author:  lofrank [ 2006-03-25 17:41:25 ]
Post subject:  How to make target next?

hi all.
i would like to know hjow to make a kind of target next but except my friends..

thanx

Author:  Scripts Writer [ 2006-03-25 17:55:08 ]
Post subject: 

As i know, you there aren't any command to make you questions in script

Author:  Grin [ 2006-03-25 18:38:44 ]
Post subject: 

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

Author:  lofrank [ 2006-03-27 00:57:39 ]
Post subject: 

interesting, now how to attack or target that with a spell?

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

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