Page 1 of 1

Injection & client LastTarget

Posted: 2008-07-10 19:19:32
by Battousai
OK, after a lot of time i made i script to target certain type of pg's colour.
Now i'm asking how i can syncronize injection last target with the client, or how i can bind to a hotkey for lasttarget...

In my sub after found the id i have:
uo.getstatus('finditem')
uo.set ('lasttarget','finditem')
but all casted spell that i target with client's macro for last target doesn't enter and i have some problem with target lasttargetkey lasttarget because sometimes doesn't work and always remain the target circle...

Suggestion???

^^

Posted: 2008-07-29 02:14:41
by Jaraa
U have to actually cast a spell with injection to let the client know new lasttarget.

Code: Select all

uo.getstatus('finditem')
uo.set ('lasttarget','finditem')
UO.exec("cast 'Magic Arrow' lasttarget")