Setting the Static Mesh Component in the Editor to the value of a variable

I have an Actor Blueprint that contains a Static Mesh Component.

I want the Static Mesh of the Actor to be variable, so I added a Static Mesh Variable to the BP, and I call Set Static Mesh to this variable value on Event BeginPlay.

However, I would like for the Editor representation of the BP to also be this variable value, but can’t figure out how.

This is correct, but you have to do it in the constructor instead of BeginPlay!

1 Like

This worked like a charm, thanks!

I was initially confused because of the lack of a Construction Event in the Event Graph. However, I noticed the ConstructionScript in the Functions section and got it wired up there.

Cheers!

1 Like

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