How to check which levelmap an actor belongs to?

Hi guys, I 'm struggling in finding the right way to check which map is a specific actor.
Basically, whenever an actor is hit I need to know which levelmap contains that actor, because I have to pass the name of that map to a dispatcher

I cannot use GetLevel because it returns me the PersistentLevel.

Adding a string variable for each spawned actor which contains the levelmap name?

suggests using GetLevel()->GetOuter()->GetName();

( GetOuter() is all you really need)

1 Like

Thank you :slight_smile: