Remake Color Palette
So I made a MEL script that saysIf you want to replace the entire sparks color palette with a custom palette, you can specify a custom MEL procedure name. Maya looks for the custom procedure by searching your user scripts directory for a MEL script with the same name.
Your procedure should include the following syntax:
global proc vector[] myFireworksColors( int $numColors )
In this syntax, the argument $numColors specifies the total number of colors requested. The return value should be an array of vectors with the new colors in it.
If you made individual color changes, you can return to the custom or default color palette by clicking Reset from colorProcedureName.
global proc vector[] myFireworksColors( int $numColors );
I get an error though
// Error: global proc vector[] myFireworksColors( int $numColors );arksColor[1], $sparksColor[2]>>; //
// Error: Syntax error //
Any thoughts on what I should be doing?