Difference between revisions of "FindMod"

From Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{header|FindItem|rw|The [[Var_findMod|#findMod]] system variable Determines displacement for [[Var_findX|#findX]] and [[Var_findY|#findY]]. The displacement is in the format {X}_{Y}. The displacement is added to [[Var_findX|#findX]] and [[Var_findY|#findY]] respectively.}}
+
{{header|FindItem|rw|The #findMod system variable Determines displacement for #[[findX]] and #[[findY]]. The displacement is in the format {X}_{Y} and is added to #[[findX]] and #[[findY]] respectively.}}
  
{{Example|
+
== Example ==
 +
<pre>
 
set #findmod 140_220 ;displacement of backpack location on paperdoll
 
set #findmod 140_220 ;displacement of backpack location on paperdoll
 
finditem #backpackid C_ , #charid
 
finditem #backpackid C_ , #charid
Line 7: Line 8:
 
msg $
 
msg $
 
wait 2s
 
wait 2s
click #findx #findy p ; drop on paperdoll's backpack icon}}
+
click #findx #findy p ; drop on paperdoll's backpack icon</pre>
  
{{footer}}
+
=See Also=
 +
{{FindItem}}

Latest revision as of 10:12, 7 September 2007

The #findMod system variable Determines displacement for #findX and #findY. The displacement is in the format {X}_{Y} and is added to #findX and #findY respectively.

Example

set #findmod 140_220 ;displacement of backpack location on paperdoll
finditem #backpackid C_ , #charid
event drag %something
msg $
wait 2s
click #findx #findy p ; drop on paperdoll's backpack icon

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