Page 1 of 1

Lasttarget Question Help plz.

Posted: 2005-05-16 19:56:51
by drowned
I tryed to use lasttarget in this:

uo.press(xx) ; Targetnext Key
if (uo.getname('lasttarget')=='Name') then
uo.ignore('lasttarget')
uo.press(xx) ; Targetnext Key
endif

My intention is to get the lasttarget defined by the targetnext key but the getname gets the 'injection lasttarget' and not the 'uo lasttarget' .

Any idea?
Thanx

Posted: 2005-05-16 22:00:40
by Yoko
don't forget, client do not change target instantly. you must wait some time after you press "Target Next"