Is there a way to collect all level names?

Not avaivable in Blueprints but here a C++ Solution:

Look for the Victory pluging.
There is a Blueprint function that allow you get al files in a folder.

Hi all, hoping to find an answer!

I am wanting to create a list on a UI that dynamically populates all levels from a specific folder, and I want to use Blueprints to do this. The purpose is so that I can have a UI with a list, select a level from that list, and load the level. I am trying to see if there is a way to store all the level names and paths into an array, or struct, or something along those lines.

I have a folder called Maps, and all levels for the game are stored there, but I am not sure how I can collect them all into a variable and then call them back using a loop to draw my UI.

Any help is appreciated!

Thank you. This is a great way to do it, but I don’t have Visual Studio, so I am unable to compile in order to use it. That is why I am trying to find a BP way of solving it. There is also the plugin that was made, but it is for 4.15. I have asked the designer if they would be willing to make it for 4.16, but am still waiting on a reply.

I will look into that. Thank you.

It looks like the Victory plugin does not support mobile. I should have mentioned that I am developing for mobile using UE4.