Difference between revisions of "SavePix"
From Wiki
(added note) |
(fixed description) |
||
Line 1: | Line 1: | ||
{{command header|client}} | {{command header|client}} | ||
− | {{body|savePix {X-coordinate} {Y-coordinate} [number]|The savePix command saves the pixel given by the | + | {{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.}} |
{{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 11:15, 31 December 2005
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 |