The original thread wasn’t about dynamic actors, the first response was, so this thread ended up talking about different things.
Anyway, maybe I need to make myself more clear and feed you with some ideas: the code I’ve provided you with returns the streaming level name of an actor placed in a level. Which means that you can recover the level name for instance by getting one of the actors your character is near to (for example the ground). An example in BP could go something like this:
That said, in general what you want to achieve is way simply achieved by using collision volumes that encompass your levels, so that you can either use triggers or even query the overlapping actors when needed, for example:
Hope this clarifies and helps. Cheers.