Set a Static Mesh with a Data Table

Hi. I have a huge variety of loot up items I want to place in a level.
These items will not move during run time.

Each item has a unique static mesh I want to assign to it.

Is it possible to use a data table to reference a path to each static mesh along with all the other parameters of each loot item?
I don’t want to manually set the meshes for the 100s of loot item child blueprints.

I have looked over the official documentation here:

For Static Mesh cell would this work?

“StaticMesh’/Meshes/Loot/SM_Sword_Rapier’”

I made a data structure with a Static Mesh reference variable type. Should I be using asset ID?
Please advise.

Thank you!

1 Like

OK I figured it out by setting a value manually, exporting the data table back into excel and editing it.

I used a Static Mesh reference(blue) and here’s how I formatted the data table entry:

“StaticMesh’/Game/Meshes/Loot/SM_Sword_Rapier.SM_Sword_Rapier”

The stuff that comes after /Game/ is the file path inside your Content folder.

OMG this is going to save me so much time!