How would i check if a brick is existing, then spawn bricks in a square grid where there are no bricks?
would i use 2 for loops?
like
for(%x = getWords(%loc,0,1)-5; %x < getWords(%loc,0,1)+5; %x+=Somethinghere)
{
again for y
{
block stuff here with x and y as locations and z static?
}
}
%block = new fxDTSBrick()
{
%obj = %this.player;
datablock = brick4xCubeData;
%loc = %obj.getTransform();
position = getWords(%loc,0,1) getWords(%loc,0,2) 12;
isPlanted = 1;
colorID = 1;
client = %client;
};