Page 1 of 1

WaitTargetTile

Posted: 2004-04-13 15:56:08
by P@t
I hope than this is my last dumm question (:
I have problem with WaitTargetTile, i need use it without tilenum, i try 0 but it didnt work.

Re: WaitTargetTile

Posted: 2004-04-13 23:33:18
by AGRS
P@t wrote:I hope than this is my last dumm question (:
I have problem with WaitTargetTile, i need use it without tilenum, i try 0 but it didnt work.


But U have 2 use it with tilenum.

Re: WaitTargetTile

Posted: 2004-04-14 09:04:47
by P@t
AGRS wrote:
P@t wrote:I hope than this is my last dumm question (:
I have problem with WaitTargetTile, i need use it without tilenum, i try 0 but it didnt work.


But U have 2 use it with tilenum.

Than I can't target tile without know tilenum?
Isn't there any other command to target unknow tile(with unknow tilenum)?

Re: WaitTargetTile

Posted: 2004-04-14 12:27:54
by Edred
P@t wrote:
AGRS wrote:
P@t wrote:I hope than this is my last dumm question (:
I have problem with WaitTargetTile, i need use it without tilenum, i try 0 but it didnt work.


But U have 2 use it with tilenum.

Than I can't target tile without know tilenum?
Isn't there any other command to target unknow tile(with unknow tilenum)?


No. You must know the tilenum for WaitTargetTile. Or use LDblClick(x, y) for click to the screen coordinates.

Posted: 2004-04-14 12:58:22
by Biga
In most cases you don't have to know tilenum. Generally you can write anything else instead of tilenum. For example

uo.exec('waittargettile TiLe '+Str(uo.GetX()+x)+' '+Str(uo.GetY()+y)+' 251')

It do works.

Posted: 2004-04-14 19:44:38
by P@t
Biga wrote:In most cases you don't have to know tilenum. Generally you can write anything else instead of tilenum. For example

uo.exec('waittargettile TiLe '+Str(uo.GetX()+x)+' '+Str(uo.GetY()+y)+' 251')

It do works.

it don't work when i use:
Uo.exec('waittargettile tile '+Str(X[num])+' '+Str(Y[num])+' 0')

Game say: You can't think of way to use that item
and infotile lasttile: 0 65535 65535 0

and if i replace tile by tilenum (3290) it work

Posted: 2004-04-15 20:33:47
by Yoko
any words converted to number 0. this number from clients point of view have some basic land types, such as deep water and sand. Cave floor and all items that drawn upon basic land always have special number, like trees, rocks, flowers.