Imagine Nation Forums
[PVP] Efficient way of targeting players? - Printable Version

+- Imagine Nation Forums (https://in-uo.net/forums)
+-- Forum: Imagine Nation archive (https://in-uo.net/forums/forumdisplay.php?fid=6)
+--- Forum: Questions and Answers (https://in-uo.net/forums/forumdisplay.php?fid=27)
+--- Thread: [PVP] Efficient way of targeting players? (/showthread.php?tid=5321)

Pages: 1 2


[PVP] Efficient way of targeting players? - Cana - 04-02-2012

Gang Wrote:UO options > UO.Press > then laststatus in injection.

Theres not much of stuff which would be impossible in inject...

What's laststatus? This is what I try to use with injection: link

It's probably badly translated, but at least there's some documentation. That, and the scripting.txt in the Yoko docs. I didn't notice anything about laststatus in there either. Is there much commands and variables that aren't in those two documents?


[PVP] Efficient way of targeting players? - Gang - 04-02-2012

Yeah man the list is not full, and indeed lol it's poorly translated:/

It's target, aka:

laststatus , lasttarget , lastattack.

laststatus - target on a player status of which you dragged the last. Last attack - target on last attacker.

So, what I meant actually is that you use uo options and use target next there. To cast spell on someone who you choosen by in-client targetnext you should use laststatus

uo.waittargetobject('laststatus')


[PVP] Efficient way of targeting players? - Gang - 04-02-2012

err i meant these are objects.. ;p


edit: I never used target next, but thats what I'd use:

sub z()
uo.press(keycode)
wait(100)
UO.Set('lasttarget','laststatus')
endsub


[PVP] Efficient way of targeting players? - Galdor - 04-03-2012

I allways use 1 key to cast Magic arrow..... When i click it target comes and i use.... Its better way for me....


[Image: galdor2.jpg]