Dropdown menu inside construction scipt

Hi everyone,

I would like to create a bp actor with differents Static Meshes.
For example a table :

  • 1 SM : Table plate
  • 1 SM : 4 legs 0,90cm
  • 1 SM : 4 legs 1m
  • 1 SM : 4 legs 1,2m

My question is : Is it possible to add a dropdown menu inside the bp’s construction script (throught a public variable) to edit it in the detail panel?

Thanks for yours replies.

The only good way I could think of is with an enum.
Since I didn’t want to create a whole enum class just for that, I used an array of static meshes and an int. Use the int to get a static mesh at index from that array. If you set the value and slider limits on the int you can be sure that it will always be valid, and use the slider.

Not the greatest, but it is pretty simple to set up.

Thank you cDub.