Dungeon keeper like tile spawning

So i’v been playing a lot of Dungeon Keeper recently and i want to make something similiar to it.
Currently i need help with spawning blocks next to each other in X and Y axis infinitly. Any ideas how can i make it ?
(sorry for my english and yes i am still learning ue4 )

There are many ways of doing it, the easiest technique for spawning separate blocks is to use the snap to grid node as described in this post:

https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1497644-how-to-check-if-which-cube-s-face-is-clicked-and-where?p=1497848#post1497848

Inverting Transform of the object and dealing with local coords is better.

If you want to spawn a platform made out of tiles, use a nested loop or a 2d grid execution macro node, see here for an example:

https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1411963-can-blueprints-be-used-to-chop-an-image-into-pieces?p=1412068#post1412068

The above assumes you want to do it all dynamically rather than manually in the editor.

Cool. You can use it in a loop to build stuff in 3d, too.

Good luck!

I used the method with 2d grid execution macro node and it works realy good ! Thank you for helping me out :slight_smile: