Page 1 of 1

Reseting target

Posted: 2008-04-24 17:53:19
by ChinTpD
Look:

this is my F1 command: waittargetlast; cast 'Magic Arrow'

and this is my ALT + F1 command: cast 'Magic Arrow'

I use this so i can auto-target attack my lasttarget, but when i need to target other player i must use ALT + F1

But... I see that when i login and use F1, he has NO TARGET YET, soh my F1 can be used like ALT + F1

And all my another PVP macros too

So....

I need help for some function that RESET the TARGETS of my Client. So i can reset my last target first to use my spells wihtout ALT key.

:D
.....help?

Posted: 2008-04-24 22:03:27
by Aldebaran
Maybe canceltarget() ??

Posted: 2008-04-25 04:33:43
by ChinTpD
didnt work :(

but thanks hehe

Posted: 2008-04-25 12:24:41
by Grin

Code: Select all

sub macro()
   
   if uo.GetSerial('lasttarget') == "0x00000000" then
      uo.Info()
      while uo.Targeting()
         wai(100)
      wend
   end if
   uo.cast('Magic Arrow', 'lasttarget')
   
end sub

Posted: 2008-04-25 20:53:11
by ChinTpD
hmmm Thanks :D