Difference between revisions of "SavePix"

From Wiki
Jump to: navigation, search
m
m (fixing pixcol link)
Line 1: Line 1:
 
{{command header|client}}
 
{{command header|client}}
  
{{body|savePix {X-coordinate} {Y-coordinate} [number]|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.}}
+
{{body|savePix {X-coordinate} {Y-coordinate} [number]|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|#pixCol]] system variable.}}
  
 
{{note|the UO client '''must''' be top most in order for savepix and #pixcol to work}}
 
{{note|the UO client '''must''' be top most in order for savepix and #pixcol to work}}

Revision as of 04:50, 1 January 2006


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