Yoko

All sides of Injection
It is currently 2026-01-18 21:10:08

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2005-05-23 10:36:07 
Offline

Joined: 2004-04-14 22:08:20
Posts: 16
For those who want to follow targets while macroing.


sub follow()
var togoX
var togoY
while 1
togoX=UO.GetX('self') - UO.GetX('lasttarget')
togoY=UO.GetY('self') - UO.GetY('lasttarget')

if togoX > 1 then
repeat
uo.press(78)
wait(100)
togoX=UO.GetX('self') - UO.GetX('lasttarget')
until togoX < 1
endif

if togoX < -1 then
repeat
uo.press(77)
wait(100)
togoX=UO.GetX('self') - UO.GetX('lasttarget')
uo.print(STR(togoX))
until togoX > -1
endif

if togoY > 1 then
repeat
uo.press(75)
wait(100)
togoY=UO.GetY('self') - UO.GetY('lasttarget')
until togoY < 1
endif

if togoY < -1 then
repeat
uo.press(76)
wait(100)
togoY=UO.GetY('self') - UO.GetY('lasttarget')
until togoY > -1
endif
wait(1000)
wend
end sub




just set the keys to walk N S E W and be happy


Top
   
 Post subject:
PostPosted: 2005-05-23 17:48:45 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
if you want following to the character, move to him cursor and press Alt + Left-click mouse :D


Top
   
 Post subject:
PostPosted: 2005-05-23 19:36:18 
Offline

Joined: 2004-04-14 22:08:20
Posts: 16
Mihail wrote:
if you want following to the character, move to him cursor and press Alt + Left-click mouse :D


but u cant simulate a ALT press + left click while sleepin :)


Top
   
 Post subject:
PostPosted: 2005-05-23 21:06:18 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
You can use this script as well


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited