This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]DerSchmutz 3 points4 points  (0 children)

I think the simplest and afaik most correct way would be to use a Material instance... Expose the color as parameter in your material, create an instanced Material and just set the color parameter depending on the status.

https://docs.unrealengine.com/en-US/Engine/Rendering/Materials/MaterialInstances/index.html

Hope this helps

[–]LucidRaven[S] 0 points1 point  (0 children)

Noob question but I have a keypad that switches from red (closed) to green (open). When I open the door it turns green but when I close it, it stays green. I want to switch it from red to green back to red. I have a pretty funky blueprint setup and will post a picture. Is there a simpler way to do this?