Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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 )

Product Version: UE 4.19
more ▼

asked Jul 07 '18 at 09:42 AM in Blueprint Scripting

avatar image

3 1 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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:


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:


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

more ▼

answered Jul 07 '18 at 09:57 AM

avatar image

15.2k 77 25 62

avatar image MagistralPL Jul 07 '18 at 11:47 AM

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

avatar image Everynone Jul 07 '18 at 11:48 AM

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

Good luck!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question