i tried
Code: Select all
setattribute(Multiball[0], 'color', 5000);
Code: Select all
setattribute(Multiball[0], 'color', 5000);
Code: Select all
decl color = RGB(1.0,0.0,0.0);
multiball_colors[7] = color;
setattribute(MultiBall, 'colors',multiball_colors;
Code: Select all
decl b;
b=getattribute(Multiball[0], 'color');
setattribute(Reverb, 'color', b);
Code: Select all
decl b;
b=getattribute(Multiball, 'color');
setattribute(Reverb, 'color', b[0]);
Anton wrote:what if I wanted to set the color of a monitor to the color of a ball. how do i get the color of an individual ball?
I treid something likewhere Reverb was the name of the monitor this script lived in.Code: Select all
decl b; b=getattribute(Multiball[0], 'color'); setattribute(Reverb, 'color', b);
Code: Select all
decl b;
b = getattribute(Multiball, 'colors');
setattribute(Reverb,'color',b);