Difference between revisions of "FindZ"
From Wiki
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{header|FindItem|ro|The #findZ system variable contains the z-coordinate of the object returned by [[findItem]]. If [[findKind|#findKind]] equals 0, the coordinate is a screen coordinate, if [[findKind|#findKind]] equals 1, the coordinate is a world coordinate.}} | |
− | + | ||
− | + | ||
− | + | ||
− | {{ro}} | + | |
− | + | == Example == | |
<pre> | <pre> | ||
− | |||
</pre> | </pre> | ||
− | + | ||
− | { | + | =See Also= |
− | + | {{FindItem}} | |
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + |
Latest revision as of 09:12, 7 September 2007
⇒ | The #findZ system variable contains the z-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
See Also
FindItem
- These system variables are set when the FindItem command is used.
#findID | ⇒ | Returns the id of the object returned by findItem |
#findType | ⇒ | Returns the type of the object returned by findItem |
#findX | ⇒ | Returns the x-coordinate of the object returned by findItem |
#findY | ⇒ | Returns the y-coordinate of the object returned by findItem |
#findZ | ⇒ | Returns the z-coordinate of the object returned by findItem |
#findDist | ⇒ | Returns the distance from the character to the object returned by findItem |
#findKind | ⇒ | Returns the kind of the object returned by findItem |
#findStack | ⇒ | Returns the number of stacked items in the object returned by findItem |
#findBagID | ⇒ | Returns the bag the object returned by findItem is contained in |
#findMod | ⇔ | Returns displacement for #findX and #findY |
#findRep | ⇒ | Returns the reputation of the object returned by findItem |
#findCol | ⇒ | Returns the color of the object returned by findItem |
#findIndex | ⇔ | Gets the values of all other findItem results without restarting the time-consuming FindItem command. |
#findCnt | ⇒ | Returns the number of objects that matches what was searched for with the findItem command |