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))
Regards!
Code: Select all
WaitTargetTile(1, GetX(200), GetY(200), GetZ(200))
Hi GeeZer,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
Code: Select all
WaitTargetTile(1, GetX(Self()), GetY(Self()), GetZ(Self()))
Hundred Thanks!! Is Working!!!!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