Author Topic: Changing a brick into another brick?  (Read 873 times)

Is there a way to change a brick into another brick?

Like changing a 1x4x5 wall into a window?

you could delete the brick and then create a new one, not sure if there's a way to directly change it though

There is a direct way of doing it, the treasure chest uses it to open and close.
Code: [Select]
%obj.setDataBlock(brickData);

There is a direct way of doing it, the treasure chest uses it to open and close.
Code: [Select]
%obj.setDataBlock(brickData);
No. This will not work.

I withdraw my statement. It didn't work in previous versions. I suppose this has been changed.
« Last Edit: April 01, 2012, 04:49:35 PM by Slicks555 »

No. This will not work.
Sure it will, it works with the treasure chest.

Imagine the abuse...
Plant a 1x1x1 abd cover it with other bricks...
Change it to a 1x2x1...
Crash

Imagine the abuse...
Plant a 1x1x1 abd cover it with other bricks...
Change it to a 1x2x1...
Crash
what

are you talking about

Imagine the abuse...
Plant a 1x1x1 abd cover it with other bricks...
Change it to a 1x2x1...
Crash
what

are you talking about
OP said nothing about an event or anything abusable.


How could it crash unless you changed it to a invalid datablock?

and why would the host want to crash his own server?

Because he is a newb and wants to try it out but doesnt know how
So he places a plate and places another plate on it
Then he changes the bottom plate to a brick
What will happen now?
Because people always do what they are told not to do or what they think will not work

Nothing will happen. Nothing at all. You will only get overlapping bricks.

There are many other things that are more abusable than that, sorry.

So you can make overlapping bricks?
That sounds cool

Overlapping bricks are extremely easy to make. However if you save some overlapping bricks, they will never load overlapping. Usually the first brick planted will be loaded and the other one will not.

So you can make overlapping bricks?
That sounds cool
I thought I already told you that overlapping bricks is extremely simple. It just wont save/load properly.