Page 1 of 1

Reseting target with script HELP!!!

Posted: 2008-04-24 18:22:24
by ChinTpD
Posted: Thu Apr 24, 2008 6:53 pm Post subject: Reseting target

--------------------------------------------------------------------------------

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.


.....help?

i did that script to help:

Code: Select all

sub ltsys() 
   If UO.GetGlobal('ltsys')=='Off' Then
      UO.Print('LastTarget System (ON)')
      UO.SetGlobal('ltsys','On')
   Else
      UO.Print('LastTarget System (OFF)')
      UO.SetGlobal('ltsys','Off')
   Endif
end sub

sub arrow()
If UO.GetGlobal('ltsys')=='On' Then
UO.waittargetlast()
endif
UO.Cast('Magic Arrow')
end sub


But i want a more simple way that uses just comands :D

and another help, how can i "print" a msg at my char (but just for me)

like a:

Uo.CharPrint('Magic Arrow!')

Posted: 2008-04-30 06:43:49
by Infectous
Uo.Print('Magic Arrow!')