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

Delayed targeting
http://forum.yoko.com.ua/viewtopic.php?f=3&t=13516
Page 1 of 1

Author:  hobbit [ 2008-04-20 09:45:22 ]
Post subject:  Delayed targeting

Good morning,
i`m looking how to create this:

uo.usetype('xxxx')
wait(3000)
?select target?

i need to use item, then wait 3000ms an then select target (there is timer between using item and selecting target)

any idea?

Author:  Destruction [ 2008-04-21 04:10:50 ]
Post subject: 

Use uo.target() if u really need it.

Easy way is:
Code:
wait(3000)
uo.waittarget*()
uo.usetype()


In anyway remember - uo.target() only sends target info to server and dont set cursor to normal state. To cancel cursor targeting in client use:
Code:
uo.say( chr( 27 ) )


UO.Target() syntax:
Code:
Syntax: ,target target_key lasttile/object/ground [ttype type X Y Z]
none uo.target(target_key,lasttile/object/ground,[ttype,type,X,Y,Z])

Author:  hobbit [ 2008-05-05 19:29:48 ]
Post subject: 

Thanks a lot, I know syntax, but here is server-side timer between using item and selecting target. So, if target is selected faster than 3000ms after using item, action isn`t succesful.

=>
uo.waittarget*(<something>)
uo.usetype(<something>)

is not succesful, because target is selected immediately after using item.

What i Need:
a) use item
b) wait 3000ms (yes, i`m really targetting)
c) select target
in order as writen.

This is used for stealing skill on one czech shard

any more idea?

Author:  Destruction [ 2008-05-06 06:04:15 ]
Post subject: 

As i above say - use uo.target().

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