WaitTargetTile

Ask for help

Moderators: Murderator+, Murderator

Post Reply
P@t
Posts: 16
Joined: 2004-04-10 10:59:24
Contact:

WaitTargetTile

Post 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.
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

Re: WaitTargetTile

Post 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.
P@t
Posts: 16
Joined: 2004-04-10 10:59:24
Contact:

Re: WaitTargetTile

Post 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)?
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Re: WaitTargetTile

Post 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.
Biga
Posts: 76
Joined: 2004-04-04 21:04:43
Contact:

Post 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.
P@t
Posts: 16
Joined: 2004-04-10 10:59:24
Contact:

Post 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
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post 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.
Post Reply