Page 1 of 1

Targeting

Posted: 2004-04-17 15:42:19
by xeon
Hi, I'm tryn' to write a script for targeting (to autotarget red pg :) )
My idea was to use the targetnext command of the client and do a control with UO.GetNotoriety("lasttarget").
The problem is that lasttarget is not set after using the targetnext of the client!
Let me put a sample script:

sub target()
UO.Press(F6) # F6 in the client is a targetnext macro
IF (UO.GetNotoriety("lasttarget") <> .... # some stuff
end sub

How can I solve? Or better, can i do something similar to the client targetnext in Injection?
Tnx in advance
xeon

PS: I'm posting also because the lack of clear documentation about Inj :=)

Posted: 2004-04-18 20:54:42
by Yoko
read FAQ about Target Next in archive (old forum link)

Posted: 2004-04-19 01:13:21
by xeon
Tnx a lot