FindX
From Wiki
| ⇒ | The #findX system variable contains the x-coordinate of the object returned by findItem. If #findKind equals 0, the coordinate is a screen coordinate, if #findKind equals 1, the coordinate is a world coordinate. |
Example
.....
loop:
finditem %target
if #CHARPOSX <> #findx || #CHARPOSY <> #findy
{
move #findx #findy 0 0
goto loop
}
.....
Related Commands
| ignoreItem | findItem | #findCnt |
| #findID | #findType | #findX |
| #findY | #findZ | #findDist |
| #findKind | #findStack | #findBagID |
| #findMod | #findRep | #findCol |
| #findIndex |
See also
| Main Page | Documentation |