boomboom, you would just put the colour first in the function.
Function create_cube(R,G,B,pos_x,pos_y,pos_z,scale_x=2,scale_y=2,scale_z=2)
Then you can override the default scales if you want, but you can't use the default function values if you are passing across values after that.
Function create_cube(R,G,B,pos_x,pos_y,pos_z,scale_x=2,scale_y=2,scale_z=2)
Then you can override the default scales if you want, but you can't use the default function values if you are passing across values after that.