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

EasyUO + Injection moving...
http://forum.yoko.com.ua/viewtopic.php?f=20&t=324
Page 1 of 1

Author:  joselito [ 2004-05-12 01:43:10 ]
Post subject:  EasyUO + Injection moving...

EasyUO function:
Code:
initevents
set %tolerance 0
set %timeout 60s
set *1 0
set *2 0

loop:
if *1 <> 0
{
   move *1 *2 %tolerance %timeout
   set *1 0
}
goto loop



Injection function
Code:
sub move(x,y)
   uo.SetEasyUO(1,x)
   uo.SetEasyUO(2,y)
   while not uo.GetEasyUO(1) == "0"
      wait(50)
   wend
end sub



Function call example:
.....
move("1245","253")
.....

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