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???
^^
Injection & client LastTarget
Moderators: Murderator+, Murderator
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")