How to get current map name with world composition?
Hi I am looking to get current map name when using world composition. I will use it to create folder and organize data for each sub-map.
I try to use :
but I only get the name of the parent of the world composition.
Is there a way to know which level is the current active one?
asked Apr 24 '15 at 08:46 AM in C++ Programming
You need map package name. GetWorld()->GetOutermost()->GetName(); In PIE map name will have special prefix like: 'Game/Maps/UEDPIE0_MyMapName'
answered Apr 24 '15 at 09:06 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here