Author Topic: Client Spraycan color change?  (Read 626 times)

I want to change the color of painting with client. All I know and it probably has nothing to do with it is
commandtoserver('usespraycan');
Please help. Thanks.

scrollPaint(int);
shiftPaintColumn(int);

I knew them offhand so I guess that was a leg up for me, but I still opened the game to confirm. You couldn't have just run trace(bool) and pressed the buttons to move around in the paint can yourself? Anyway, use 1 to go down or right, use -1 to go up or left, and you can use numbers like 5 to shift 5 at once.

scrollPaint(int);
shiftPaintColumn(int);

I knew them offhand so I guess that was a leg up for me, but I still opened the game to confirm. You couldn't have just run trace(bool) and pressed the buttons to move around in the paint can yourself? Anyway, use 1 to go down or right, use -1 to go up or left, and you can use numbers like 5 to shift 5 at once.
Ty. All I needed.
« Last Edit: January 10, 2013, 01:18:32 PM by Frostwind »

scrollPaint(int);
shiftPaintColumn(int);

I knew them offhand so I guess that was a leg up for me, but I still opened the game to confirm. You couldn't have just run trace(bool) and pressed the buttons to move around in the paint can yourself? Anyway, use 1 to go down or right, use -1 to go up or left, and you can use numbers like 5 to shift 5 at once.
why shouldn't you just use commandToServer('useSprayCan', %colorID); if you were going to a specific colour?

besides not updating what your client thinks the current colour is

why shouldn't you just use commandToServer('useSprayCan', %colorID); if you were going to a specific colour?

besides not updating what your client thinks the current colour is
If you were building a macro or something then this would be perfectly acceptable since the colors would probably change so fast there's no reason to update the ui anyway, but scrollPaint and shiftPaintColumn are the proper functions for changing the color of your paint.