Changing target

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
gflip
Posts: 12
Joined: 2011-11-16 21:04:11

Changing target

Post by gflip »

I am loosing target in PvP. I want to change waittargetlast with the ID of the player, can someone help me?
gflip
Posts: 12
Joined: 2011-11-16 21:04:11

Re: Changing target

Post 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?
ZeroDX
Posts: 718
Joined: 2006-12-08 10:51:50
Location: Москва
Contact:

Re: Changing target

Post by ZeroDX »

Do not perform any action between the occurrence of target and its indication
gflip
Posts: 12
Joined: 2011-11-16 21:04:11

Re: Changing target

Post 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"
ZeroDX
Posts: 718
Joined: 2006-12-08 10:51:50
Location: Москва
Contact:

Re: Changing target

Post by ZeroDX »

can i see full script
gflip
Posts: 12
Joined: 2011-11-16 21:04:11

Re: Changing target

Post 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
ZeroDX
Posts: 718
Joined: 2006-12-08 10:51:50
Location: Москва
Contact:

Re: Changing target

Post by ZeroDX »

waittarget must be before usetype
gflip
Posts: 12
Joined: 2011-11-16 21:04:11

Re: Changing target

Post by gflip »

ZeroDX wrote:waittarget must be before usetype


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