Yoko
http://forum.yoko.com.ua/

Reseting target with script HELP!!!
http://forum.yoko.com.ua/viewtopic.php?f=17&t=13535
Page 1 of 1

Author:  ChinTpD [ 2008-04-24 18:22:24 ]
Post subject:  Reseting target with script HELP!!!

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:
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!')

Author:  Infectous [ 2008-04-30 06:43:49 ]
Post subject: 

Uo.Print('Magic Arrow!')

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/