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

Help with waittargettile please..
http://forum.yoko.com.ua/viewtopic.php?f=3&t=2996
Page 1 of 1

Author:  pim [ 2005-02-05 22:31:07 ]
Post subject:  Help with waittargettile please..

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

Author:  Yoko [ 2005-02-05 23:56:34 ]
Post subject: 

http://yoko.netroof.net/forum/viewtopic.php?t=2992

Author:  ziemni [ 2005-02-06 08:58:21 ]
Post subject:  Re: Help with waittargettile please..

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

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