SavePix

From Wiki
Revision as of 12:16, 31 December 2005 by Kedrick Valorite (Talk | contribs)

Jump to: navigation, search


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

See also

Main Page Documentation