Page 1 of 1

Changing target

Posted: 2011-11-17 17:13:15
by gflip
I am loosing target in PvP. I want to change waittargetlast with the ID of the player, can someone help me?

Re: Changing target

Posted: 2011-11-17 18:06:02
by gflip
When i am with low mana and try to cast a spell i get the msg "Auto-target canceled" and then i loose the target (i am using waittargetlast)

How to fix it?

Re: Changing target

Posted: 2011-11-17 18:23:16
by ZeroDX
Do not perform any action between the occurrence of target and its indication

Re: Changing target

Posted: 2011-11-17 18:25:13
by gflip
ZeroDX wrote:Do not perform any action between the occurrence of target and its indication


I am not

The line is "usetype 'FSscroll';waittargetlast"

Re: Changing target

Posted: 2011-11-18 02:22:49
by ZeroDX
can i see full script

Re: Changing target

Posted: 2011-11-18 17:06:01
by gflip
ZeroDX wrote:can i see full script


That's it: "usetype 'FSscroll';waittargetlast", its directly executed from the hotkey command

But now i am using this, temporary fix for the problem

sub FSc()
if UO.Mana >= 20 then
UO.usetype('FSscroll')
uo.waittargetlast()
else
uo.charprint('0x0015','Sem mana')
endif
end sub

Re: Changing target

Posted: 2011-11-18 18:13:58
by ZeroDX
waittarget must be before usetype

Re: Changing target

Posted: 2011-11-18 23:33:51
by gflip
ZeroDX wrote:waittarget must be before usetype


I still get "Auto target cancelled" and lose target when i run out of mana