What variable to use with Map Name/ Level name?

Does any one know what variable these noob should use to save Map Name( Level Name (LV1, LV2, LV3 ETC…) For instance for Player location I would obiviously use Player Location node for Velocity I would Player Velocity node but What do you use for Map Name. Would it be Get current level and if so what type of variable goes with MapName. I gues Name variable but I thought I seen some one use Integer. I could be wrong. Super thanks to anyone who can dismental these problem for me!!!

They take Name variable. How you store and fetch the value depends on your game. There’s most likely as many ways of doing this as there are people:

Or like this, storing just 2 ints (which can be in a 2d vector):

Again, it all depends on how complex your game is. You can just get an array of names and Get 0,1,2 and so on…
This question has too many answers. A predefined array is most likely the most logical in most situations unless you’re dealing with procedurally generated content.

Another way is to set up a UWorld property in your blueprint of type SoftObjectPath. This allows you to select directly a level from the content browser without relying on strings, which are error-prone.

The additional benefits are that if you change your level name, it will be propagated to your property, you won’t have to go in your blueprints to manually update the names.

And since it’s a soft object path, the level won’t be loaded so you don’t have to worry about memory.

Ok thank you. What I really needed was the <<< GET CURRENT LEVEL NAME >> > node. So I can save it to Game Instance and then get info out from it with UMG on button pressed. That’s the best way to get MAP NAME!!