How to increase the Multiball.grid in code
Posted: 06 Feb 2012 16:30
Hi again.
I want to increase the X Axis or the Y Axis of a Mutliballgrid by scripting.
Did not find out how to do this.
Tried it like this:
of course it is not working, because he getting the 'on/off'' attribute at first getattribute.
Is there any possibility to change the grid rows and columns dynamically?
I want to increase the X Axis or the Y Axis of a Mutliballgrid by scripting.
Did not find out how to do this.
Tried it like this:
Code: Select all
decl agrid,x,y;
agrid = getattribute(ContainerTopLeft.MultiballOne, 'grid');
x = agrid.x[0];
y = agrid.x[1];
x++;
setexpression(ContainerTopLeft.MultiballOne, 'grid.x[0]', x);
setexpression(ContainerTopLeft.MultiballOne, 'grid.x[1]', y);
Is there any possibility to change the grid rows and columns dynamically?