|
uo.click("Serial of NPC") - if you want to emulate "click" to see name.
If you want to really click NPC with mouse (for example, to call pop-up menu), then you need to project world coorditanes ( uo.getx(), uo.gety(), uo.getz() ) to screen (projection formula is experimental), and then uo.lclick() on them. BUT this will NOT give you 100% precision (why - you'll understand as soon, as you'll write project-function)
_________________ Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
|