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!
But I have not been able to control the Emissive Intensity of the Ceiling BP Material
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!