Right approach to change materials of actors by widget

Just in the actor BP? And connect it
to Construction script?

Yes, this goes into the actor whose material you’ll want to alter run-time. Each instance of the actor will then create its own Dynamic Material Instance and assign it to its own Static Mesh Component.

And how do I set up the nodes Selected
Actor → MDI → target SetVector
Parameter Value?

Once you’ve done what’s show in the image 1 (the very first), you can:

Image from Gyazo

Do note that Selected Object type must the same as the actors in the level whose materials we’re changing via the DMI.

340587-screenshot-1.png

This variable would need to be the same type as FALK_TR as this is what we’re testing against with a Cast.