Injection & client LastTarget

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Battousai
Posts: 2
Joined: 2007-12-05 00:08:49

Injection & client LastTarget

Post 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???

^^
Jaraa
Posts: 45
Joined: 2008-03-03 02:16:35

Post 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")
Post Reply