Page 1 of 1

info uo.targeting

Posted: 2008-12-28 18:27:40
by iRuLez
some time i read in game "auto target cancelled"
i think with this is due maybe a problem with a lag of server ...
for remedy to this problem i thought to use uo.targeting

this functions of inj should accept with the client targeting correctly but im not able to use it
how i must do for use it?

for example

Code: Select all

uo.cast("Flame Strike")
while uo.targeting()
     uo.waittargetobject("laststatus")
wend

Posted: 2008-12-29 02:22:11
by Grin
"auto target cancelled" is Injection message, not UO server.
It's happens when you use wait* functions but there was no target from server and you again use wait* function.

If you want you can use uo.Waiting() and uo.CancelTarget()