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

uo.waittargettile() [Help]
http://forum.yoko.com.ua/viewtopic.php?f=17&t=13259
Page 1 of 1

Author:  Injectioner [ 2008-02-17 16:10:41 ]
Post subject:  uo.waittargettile() [Help]

I will try to explain my Doubt.
I wanna target the floor in myX+1 and myY-1, but I didnt' know how to do that, I was trying like this:

Code:
z = Uo.GetZ("self")
x = Uo.GetX("self")
y = Uo.GetY("self")

j = 1
i = 1

uo.waittargettile('str(x+j),str(y-i),str(z)')


When I used this, it always target onde the floor under me.

Somebody can help me?

Thanks.

[]'s

Author:  I'm [ 2008-02-17 17:42:07 ]
Post subject: 

Code:
uo.waittargettile( lasttile_OR_tilenum, x, y, z)

Author:  Injectioner [ 2008-02-17 18:29:12 ]
Post subject: 

I'm wrote:
Code:
uo.waittargettile( lasttile_OR_tilenum, x, y, z)


I wanna target my tile info + 1.
Ex: I'm on the X:1578 & y: 1675, the floor that I wanna target the X:1579 & Y:1675, this isn't a fixed target, because I will walk, and this tiles will change.

understand?

[]'s

Author:  Nmy [ 2008-02-17 18:42:22 ]
Post subject: 

Code:
uo.waittargettile(lasttile/tilenum,[x],[y],[z])


You are missing the 1st variable...

For example:
Code:
uo.waittargettile("400",str(x)+1,str(y),str(z))

Author:  Injectioner [ 2008-02-18 01:09:58 ]
Post subject: 

Mr Nmy wrote:
Code:
uo.waittargettile(lasttile/tilenum,[x],[y],[z])


You are missing the 1st variable...

For example:
Code:
uo.waittargettile("400",str(x)+1,str(y),str(z))


Qhen I change my uo.waittargettile() to your, the injection doesn't run the script, but when I take off the "+1" the scripts run normaly.

How do I discovery this "tilenum"?

Thanks.

[]'s

Author:  Destruction [ 2008-02-18 03:15:50 ]
Post subject: 

Incorrect example.. rofl. Use my example:

Code:
uo.waittargettile( "0", str( uo.getX() + 1 ), str( uo.getY() -1 ), str( uo.getZ() ) )

Author:  Injectioner [ 2008-02-18 04:01:47 ]
Post subject: 

Destruction wrote:
Incorrect example.. rofl. Use my example:

Code:
uo.waittargettile( "0", str( uo.getX() + 1 ), str( uo.getY() -1 ), str( uo.getZ() ) )


Thanks everybody.
It works fine now. xD

[]'s

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