Contruction Script set material on coin

Hi,

I have a simple Coin Blueprint (BP), and I would like to add an option to the Construction Script so that I can apply my Coin BP in the Editor and choose the material for that coin. Ideally, I’d like to have four material options: Material1 = “Something”, Material2 = “Copper”, Material3 = “Gold”, and Material4 = “User-Defined” (where the user can set their desired material in the Editor).

Can someone please help me with this?

1 Like

Make a enumerator

image

In the coin BP, make a variable of the enum type, an array of type ‘material interface’, and a variable of the same type. Make them visible

image

Use the script

coin types

Your the best @ClockworkOcean !

I wish this community had at least 100 like you.

Thanks a lot, I will try this.

1 Like

:sunglasses: :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.