Difference between revisions of "FindX"
From Wiki
Line 13: | Line 13: | ||
.....</pre> | .....</pre> | ||
+ | == Related Commands == | ||
+ | {| style="background:gainsboro; color:black; border: 2px #aaa solid;" | ||
+ | | width=250px align=center | [[ignoreItem]] || width=250px align=center | [[findItem]] || width=250px align=center | [[findCnt|#findCnt]] | ||
+ | |- | ||
+ | | width=250px align=center | [[findID|#findID]] || width=250px align=center | [[findType|#findType]] || width=250px align=center | [[findX|#findX]] | ||
+ | |- | ||
+ | | width=250px align=center | [[findY|#findY]] || width=250px align=center | [[findZ|#findZ]] || width=250px align=center | [[findDist|#findDist]] | ||
+ | |- | ||
+ | | width=250px align=center | [[findKind|#findKind]] || width=250px align=center | [[findStack|#findStack]] || width=250px align=center | [[findBagID|#findBagID]] | ||
+ | |- | ||
+ | | width=250px align=center | [[findMod|#findMod]] || width=250px align=center | [[findRep|#findRep]] || width=250px align=center | [[findCol|#findCol]] | ||
+ | |- | ||
+ | | width=250px align=center | [[findIndex|#findIndex]] | ||
+ | |} | ||
{{footer}} | {{footer}} |
Revision as of 00:18, 4 September 2007
⇒ | 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 |