I figured out that this
if( %spawnBrick.itemPosition != 1 && !hBrickClientCheck( %brickGroup ) )
{
//%pos = %obj.spawnBrick.getPosition();
//%pos = vectoradd(%pos,"0 0 0.15");
//%rot = getwords(%obj.spawnBrick.getTransform(),3,6);
// other options delete the bot until user comes back? ##
//%obj.setTransform(%pos SPC %rot);
//%obj.stopHoleLoop();
%obj.delete();
echo("it's calling this!");
echo(%brickgroup);
//%obj.hSched = %obj.scheduleNoQuota(%tickrate+getrandom(0,750),hLoop);
return;
}
is what's causing them to be deleted. If I make hBrickClientCheck only return 1, they spawn and stay, but I can't appear to hurt them, nor do they appear to notice me.
EDIT: Fixed them not being able to hurt anyone. nvm that.