How To Use Event Dispatcher to Control Dynamic Material Parameter

Hey guys!

I’m working on a game mechanic using a Light Switch that uses an Event Dispatcher to send a Call to control two things: a Rectangle Light BP that is flashing and a static mesh that is the ceiling which also has an emissive texture.

By clicking on the Switch, I want two things to happen. Set the Light Intensity of the Rectangle Light BP to 0. That works like a charm! :slight_smile:

But I have not been able to control the Emissive Intensity of the Ceiling BP Material :frowning:

Here is the parameter that I would like to control on the Event Dispatch Call (EmissiveMaskLevel):

I have created a Dynamic Material Instance in the Ceiling BP Construction Graph:

And here is the logic that I used, which is fairly similar to the Rectangle Light BP but it does not work.

Would appreciate any kind of input on how to make this work!

Thank you in advance!

I have created a Dynamic Material Instance in the Ceiling BP Construction Graph:

It’s not assigned to the mesh. You have 2 options:

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