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

WaitTargetTile
http://forum.yoko.com.ua/viewtopic.php?f=3&t=84
Page 1 of 1

Author:  P@t [ 2004-04-13 15:56:08 ]
Post subject:  WaitTargetTile

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.

Author:  AGRS [ 2004-04-13 23:33:18 ]
Post subject:  Re: WaitTargetTile

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.

Author:  P@t [ 2004-04-14 09:04:47 ]
Post subject:  Re: WaitTargetTile

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)?

Author:  Edred [ 2004-04-14 12:27:54 ]
Post subject:  Re: WaitTargetTile

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.

Author:  Biga [ 2004-04-14 12:58:22 ]
Post subject: 

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.

Author:  P@t [ 2004-04-14 19:44:38 ]
Post subject: 

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

Author:  Yoko [ 2004-04-15 20:33:47 ]
Post subject: 

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.

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