Page 1 of 1
Delayed targeting
Posted: 2008-04-20 09:45:22
by hobbit
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?
Posted: 2008-04-21 04:10:50
by Destruction
Use uo.target() if u really need it.
Easy way is:
Code: Select all
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:
UO.Target() syntax:
Code: Select all
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])
Posted: 2008-05-05 19:29:48
by hobbit
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?
Posted: 2008-05-06 06:04:15
by Destruction
As i above say - use uo.target().