Get BP class path location

Hi,

How to get blueprint class path location from several blueprint objects in the scene? It must be generated by a blueprint. I have managed to get them via a boxoverlapactors ( blueprint objects have a standard dummy parent blueprint class). However, i was not able to get the BP class path location.

BP class path location looks like this :
" Blueprint’/Game/Level/Level1/ExitBP.ExitBP’ "

Many thanks in advance!

Get Class → Resolve → ToString

2 Likes

Thank you so much! :slight_smile:

I will keep in mind with the use of data table and see if it better fit for my use case. Finding and changing the data is something that i dread.

I am a lazy person with very disarray style of folder management. What i was trying to do was to place static meshes and BP objects into a scene and have a central BP to “compile” as usable information from the editor for C++ source code. Basically the information can be copy and paste to c++.

It could be a room type or a specific location. From there i could have many different types of rooms to use and then to spawn the objects in a dynamically procedural process. That way i would be able to manage them as HISMC and blueprint objects. Think it as level designing with procedural management.

Before I learnt this, I used to place the class variable in a Data Table - it shows the paths with proper formatting which I would then export, batch fix up in a worksheet and reimport back.

Not sure what you’re up to but it can be handy:

Hm, maybe you’ll find this tidbit of into useful. Here’s how a blueprint node looks like when pasted as text:

If not applicable at the moment, perhaps you can find a use for it later.

Yes! that would be useful. :slight_smile: I have never thought of using the node to extract information.