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
Help with waittargettile please..
Moderators: Murderator+, Murderator
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: Select all
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