Difference between revisions of "SavePix"

From Wiki
Jump to: navigation, search
(Example)
(added note)
Line 2: Line 2:
  
 
{{body|savePix {X-coordinate} {Y-coordinate} [number]|The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.}}
 
{{body|savePix {X-coordinate} {Y-coordinate} [number]|The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.}}
 +
 +
{{note|the UO client '''must''' be top most in order for savepix and #pixcol to work}}
  
 
=== Example ===
 
=== Example ===

Revision as of 12:12, 31 December 2005


Synopsis

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

Description

The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.

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