Reseting target

Ask for help

Moderators: Murderator+, Murderator

Post Reply
ChinTpD
Posts: 7
Joined: 2008-04-24 17:34:28

Reseting target

Post 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?
Aldebaran
Posts: 24
Joined: 2004-04-11 13:20:44

Post by Aldebaran »

Maybe canceltarget() ??
ChinTpD
Posts: 7
Joined: 2008-04-24 17:34:28

Post by ChinTpD »

didnt work :(

but thanks hehe
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post 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
ChinTpD
Posts: 7
Joined: 2008-04-24 17:34:28

Post by ChinTpD »

hmmm Thanks :D
Post Reply