Targeting

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
xeon
Posts: 8
Joined: 2004-04-17 15:35:31

Targeting

Post 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 :=)
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

read FAQ about Target Next in archive (old forum link)
xeon
Posts: 8
Joined: 2004-04-17 15:35:31

Post by xeon »

Tnx a lot
Post Reply