| Yoko http://forum.yoko.com.ua/ |
|
| waittargettile problem. http://forum.yoko.com.ua/viewtopic.php?f=3&t=13607 |
Page 1 of 1 |
| Author: | botserver [ 2008-05-22 00:45:45 ] |
| Post subject: | waittargettile problem. |
uo.waittargettile( "0", str( uo.getX() ), str( uo.getY() ), str( uo.getZ() ) ) I want to target the tile but this command throw "Target cannont seen" uo.waittargettile( "1341", str( uo.getX() ), str( uo.getY() ), str( uo.getZ() ) ) work fine but i not know the tile num. how can to resolve this? |
|
| Author: | Scripts Writer [ 2008-05-22 08:44:44 ] |
| Post subject: | |
Try to input '-1' in first argument of this function |
|
| Author: | Infectous [ 2008-05-22 12:20:13 ] |
| Post subject: | |
& if you need to know the tile# ,infotile the -1 = 'any' if it works for you |
|
| Author: | botserver [ 2008-05-22 23:57:23 ] |
| Post subject: | |
UO.WaitTargetTile(-1,STR(UO.GetX()),STR(UO.GetY()),STR(UO.GetZ())) UO.WaitTargetTile('-1',STR(UO.GetX()),STR(UO.GetY()),STR(UO.GetZ())) UO.WaitTargetTile('any',STR(UO.GetX()),STR(UO.GetY()),STR(UO.GetZ())) None these seem works ,infotile throw 1340 2109 1466 -90 but UO.GetX(), UO.GetY(), UO.GetZ() throw 2109 1466 166 I change WaitTargetTile for UO.WaitTargetTile("1340",STR(UO.GetX()),STR(UO.GetY()),"166") and work fine but UO.WaitTargetTile(-1,STR(UO.GetX()),STR(UO.GetY()),"166") UO.WaitTargetTile('-1',STR(UO.GetX()),STR(UO.GetY()),"166") UO.WaitTargetTile('any',STR(UO.GetX()),STR(UO.GetY()),"166") no work UO.LClick Is my only solution. |
|
| Author: | Aldebaran [ 2008-05-24 17:40:49 ] |
| Post subject: | |
You may use uo.privategettile(x,y,-1,fromNumber,toNumber) function. Search for this function in forum, to see a few examples. Hope it helps you! |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|