25.01.2010, 15:20
One thing you could add is a checkbox, like this:
Put in array: [X]
Array name: [MyArray ]
When you have checked it, the generated code would be this:
new MyArray[4];
MyArray[0] = CreateObject(model,x,y,z,rx,ry,rz);
MyArray[1] = CreateObject(model,x,y,z,rx,ry,rz);
MyArray[2] = CreateObject(model,x,y,z,rx,ry,rz);
MyArray[3] = CreateObject(model,x,y,z,rx,ry,rz);
Put in array: [X]
Array name: [MyArray ]
When you have checked it, the generated code would be this:
new MyArray[4];
MyArray[0] = CreateObject(model,x,y,z,rx,ry,rz);
MyArray[1] = CreateObject(model,x,y,z,rx,ry,rz);
MyArray[2] = CreateObject(model,x,y,z,rx,ry,rz);
MyArray[3] = CreateObject(model,x,y,z,rx,ry,rz);