Page 1 of 1

cast paralyze field at coords

Posted: 2010-06-24 20:33:49
by Dment

Code: Select all

sub test()
var x,y,z
X = uo.GetX('827')
Y = uo.GetY('1067')
Z = uo.GetZ('4')
uo.waittargettile(x,y,z)
uo.cast('Paralyze Field')
end sub

It doesnt work.
Can you help me guys?

Re: cast paralyze field at coords

Posted: 2010-06-24 21:19:02
by Mirage
uo.waittargettile(TILE,x,y,z)

tile = 0 or 400

Re: cast paralyze field at coords

Posted: 2010-06-27 00:42:45
by Dment
i dont undestart this :S

Re: cast paralyze field at coords

Posted: 2010-06-27 10:05:53
by Mirage

Code: Select all

sub test()
var x,y,z
X = '827'
Y = '1067'
Z = '4'
uo.waittargettile(400,x,y,z) ; <---- so difficult?
uo.cast('Paralyze Field')
end sub


or

Code: Select all

sub test()
var x,y,z
X = uo.GetX('lasttarget')
Y = uo.GetY('lasttarget')
Z = uo.GetZ('lasttarget')
uo.waittargettile(400,x,y,z)
uo.cast('Paralyze Field')
end sub


many examples on the forum.

Re: cast paralyze field at coords

Posted: 2010-06-27 13:09:40
by Dment
yaya i did that. it worked but
i dont undestart the difference of 400 and 0

Re: cast paralyze field at coords

Posted: 2010-06-27 15:02:00
by Mirage
for 0 takes the value of any tile on the groung

400 = human