Yoko

All sides of Injection
It is currently 2026-03-10 09:33:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: WaitTargetTile
PostPosted: 2004-04-13 15:56:08 
Offline

Joined: 2004-04-10 10:59:24
Posts: 16
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.


Top
   
 Post subject: Re: WaitTargetTile
PostPosted: 2004-04-13 23:33:18 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
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.


Top
   
 Post subject: Re: WaitTargetTile
PostPosted: 2004-04-14 09:04:47 
Offline

Joined: 2004-04-10 10:59:24
Posts: 16
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)?


Top
   
 Post subject: Re: WaitTargetTile
PostPosted: 2004-04-14 12:27:54 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
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.


Top
   
 Post subject:
PostPosted: 2004-04-14 12:58:22 
Offline

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


Top
   
 Post subject:
PostPosted: 2004-04-14 19:44:38 
Offline

Joined: 2004-04-10 10:59:24
Posts: 16
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


Top
   
 Post subject:
PostPosted: 2004-04-15 20:33:47 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited