Question about WaitTargetTile

Post Reply
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

Question about WaitTargetTile

Post by fdesu »

Hi there,
I'm trying to mine, but i can't do it, im using WaitTargetTile to target the ground, someone have a similar problem?

Code: Select all

WaitTargetTile(1, GetX(200), GetY(200), GetZ(200))
Thanks

Regards!
GeeZeR
Apprentice
Apprentice
Posts: 226
Joined: 28.01.2012 19:48

Re: Question about WaitTargetTile

Post by GeeZeR »

what is "200"? http://stealth.od.ua/Doc:Api/G#GetX
you must put a valid tile index into WaitTargetTile http://stealth.od.ua/Doc:Manual/Reference/Tile
Stealth 8.10.2 | Клиент: 7.0.13.4
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

Re: Question about WaitTargetTile

Post by fdesu »

GeeZeR wrote:what is "200"? http://stealth.od.ua/Doc:Api/G#GetX
you must put a valid tile index into WaitTargetTile http://stealth.od.ua/Doc:Manual/Reference/Tile
Hi GeeZer,
Thanks for your reply!!

200 is the number ID player to get the X,Z,Y. Is not real is an example.

Code: Select all

WaitTargetTile(1, GetX(Self()), GetY(Self()), GetZ(Self()))
I'm trying to understand the tiles system. thanks!
GeeZeR
Apprentice
Apprentice
Posts: 226
Joined: 28.01.2012 19:48

Re: Question about WaitTargetTile

Post by GeeZeR »

You can use any functions or expressions returning coordinates: GetX(Self), GetX(Self)+1 etc.
Also you must put a valid tile index into WaitTargetTile or TargetToTile comands. Nice example is here: http://stealth.od.ua/forum/viewtopic.php?p=8910#8910
Stealth 8.10.2 | Клиент: 7.0.13.4
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

Re: Question about WaitTargetTile

Post by fdesu »

GeeZeR wrote:You can use any functions or expressions returning coordinates: GetX(Self), GetX(Self)+1 etc.
Also you must put a valid tile index into WaitTargetTile or TargetToTile comands. Nice example is here: http://stealth.od.ua/forum/viewtopic.php?p=8910#8910
Hundred Thanks!! Is Working!!!!
Post Reply