cast paralyze field at coords

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
Dment
Posts: 13
Joined: 2009-06-18 10:23:46

cast paralyze field at coords

Post 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?
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: cast paralyze field at coords

Post by Mirage »

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

tile = 0 or 400
Dment
Posts: 13
Joined: 2009-06-18 10:23:46

Re: cast paralyze field at coords

Post by Dment »

i dont undestart this :S
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: cast paralyze field at coords

Post 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.
Dment
Posts: 13
Joined: 2009-06-18 10:23:46

Re: cast paralyze field at coords

Post by Dment »

yaya i did that. it worked but
i dont undestart the difference of 400 and 0
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: cast paralyze field at coords

Post by Mirage »

for 0 takes the value of any tile on the groung

400 = human
Post Reply