Yoko

All sides of Injection
It is currently 2026-02-17 15:02:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-02-05 22:31:07 
Offline

Joined: 2005-02-05 22:28:14
Posts: 5
Hey.. i've using injection's scripts to macro for a while now, and something i really can't understand is the reason for the tilenumber on the "Waittargettile" function.. isn't there a way to avoid that number? because i made a macro for fishing and i m stucked on that tilenum, since it's variable on the water i fish =X

Any clues to make it work?
Thanks, pim


Top
   
 Post subject:
PostPosted: 2005-02-05 23:56:34 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
http://yoko.netroof.net/forum/viewtopic.php?t=2992


Top
   
PostPosted: 2005-02-06 08:58:21 
Offline

Joined: 2004-09-07 22:36:09
Posts: 22
Location: Poland
pim wrote:
Hey.. i've using injection's scripts to macro for a while now, and something i really can't understand is the reason for the tilenumber on the "Waittargettile" function.. isn't there a way to avoid that number? because i made a macro for fishing and i m stucked on that tilenum, since it's variable on the water i fish =X

Any clues to make it work?
Thanks, pim


Check it:

But take into account that graphs 6039 - 6066 are coast tiles. Just run this script when u stand at the coast :)

Code:
sub asm_test()
  var x
  var y
  var string
  UO.asmTLMapClear()
  for var i = 6039 to 6066
    UO.asmTLMapAdd(i, 'water')
  next 
 UO.TextClear()
  for x = -10 to 10
    string = ""
    for y = -10 to 10   
      if UO.asmWaitTargetStaticTile('water', UO.GetX() + x, UO.GetY() + y * (-1), 0) then
        string = string + "#"
      else
        string = string + "."
      endif 
    next
    UO.TextPrint(string) 
  next
end sub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 0 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:  
Powered by phpBB® Forum Software © phpBB Limited