Author Topic: Set Current Paint Color  (Read 791 times)

Does anyone know how to change which paint color is selected in a client-side add-on? Thanks

I'm not sure what you mean.

I'm not sure what you mean.

Set your paint color clientside. As in, select a paint from the client automatically.

You mean a client-sided colorset? That's a good idea but I don't think it's possible.

You mean a client-sided colorset? That's a good idea but I don't think it's possible.
Not quite.

What happens if you set %client.currentColor? Does it update anything?

What happens if you set %client.currentColor? Does it update anything?
Sounds like that would be a server sided thing.

commandToServer('useSprayCan',colorid);

commandToServer('useSprayCan',colorid);

$Paint_Row[$CurrPaintRow].swatch[$CurrPaintSwatch].color
HUD_PaintIcon.getColor();

Don't remember what of those would go in colorID. Meh.

Does anyone know how to change which paint color is selected in a client-side add-on? Thanks
.
Try looking at the Land Scape Generator's code. =o