Difference between revisions of "SavePix"

From Wiki
Jump to: navigation, search
m (fixing pixcol link)
m
Line 12: Line 12:
 
</pre>
 
</pre>
  
 +
== Related Commands ==
 +
{| style="background:gainsboro; color:black; border: 2px #aaa solid;"
 +
| Width=250px align=center | [[cmpPix]]
 +
|}
 
{{footer}}
 
{{footer}}

Revision as of 11:22, 3 August 2007


Synopsis

savePix {X-coordinate} {Y-coordinate} [number]

Description

The savePix command saves the color value of the pixel given by the coordinate parameters into the memory slot given by the number parameter. saving the values into number parameter's is usefull when utilizing the cmpPix command. The last color read is also always saved to the #pixCol system variable.

Note: the UO client must be top most in order for savepix and #pixcol to work

Example

; This will save the color on the screen where your cursor is into
; the number 1 pixel slot to be used with the cmpPix command.
savePix #cursorX #cursorY 1

Related Commands

cmpPix

See also

Main Page Documentation