Difference between revisions of "FindY"
From Wiki
m |
|||
Line 1: | Line 1: | ||
− | {{header|FindItem|ro|The # | + | {{header|FindItem|ro|The #findY system variable contains the y-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 == | == Example == |
Revision as of 06:17, 27 August 2005
⇒ | The #findY system variable contains the y-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 } ....
See also
Main Page | Documentation |