Difference between revisions of "FindY"

From Wiki
Jump to: navigation, search
m
Line 21: Line 21:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[findItem|findItem]] || Width=200px | [[Var_findID|#findID]]|| Width=200px | [[Var_findType|#findType]] || Width=200px | [[Var_findX|#findX]] || Width=200px | [[Var_findZ|#findZ]] || Width=200px | [[Var_findDist|#findDist]] || Width=200px | [[Var_findKind|#findKind]] || Width=200px | [[Var_findStack|#findStack]] || Width=200px | [[Var_findBagID|#findBagID]] || Width=200px | [[Var_findMod|#findMod]] || Width=200px | [[Var_findRep|#findRep]] || Width=200px | [[Var_findCol|#findCol]] || Width=200px | [[Var_findCnt|#findCnt]]
+
| Width=200px | [[findItem|findItem]] || Width=200px | [[Var_findID|#findID]]|| Width=200px | [[Var_findType|#findType]] || Width=200px | [[Var_findX|#findX]] || Width=200px | [[Var_findZ|#findZ]] || Width=200px | [[Var_findDist|#findDist]] || Width=200px | [[Var_findKind|#findKind]] || Width=200px | [[Var_findStack|#findStack]] || Width=200px | [[Var_findBagID|#findBagID]] || Width=200px | [[Var_findMod|#findMod]] || Width=200px | [[Var_findRep|#findRep]] || Width=200px | [[Var_findCol|#findCol]] || Width=200px | [[Var findIndex|#findIndex]] || Width=200px | [[Var_findCnt|#findCnt]]
 
|}
 
|}
 
----
 
----

Revision as of 12:12, 19 August 2005

#findY

FindItem System Variables

Description

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

findItem #findID #findType #findX #findZ #findDist #findKind #findStack #findBagID #findMod #findRep #findCol #findIndex #findCnt

Main_Page Documentation FindItem System Variables