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

cast paralyze field at coords
http://forum.yoko.com.ua/viewtopic.php?f=17&t=15789
Page 1 of 1

Author:  Dment [ 2010-06-24 20:33:49 ]
Post subject:  cast paralyze field at coords

Code:
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?

Author:  Mirage [ 2010-06-24 21:19:02 ]
Post subject:  Re: cast paralyze field at coords

uo.waittargettile(TILE,x,y,z)

tile = 0 or 400

Author:  Dment [ 2010-06-27 00:42:45 ]
Post subject:  Re: cast paralyze field at coords

i dont undestart this :S

Author:  Mirage [ 2010-06-27 10:05:53 ]
Post subject:  Re: cast paralyze field at coords

Code:
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:
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.

Author:  Dment [ 2010-06-27 13:09:40 ]
Post subject:  Re: cast paralyze field at coords

yaya i did that. it worked but
i dont undestart the difference of 400 and 0

Author:  Mirage [ 2010-06-27 15:02:00 ]
Post subject:  Re: cast paralyze field at coords

for 0 takes the value of any tile on the groung

400 = human

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