How to Fade In decal on trigger?

Oh yeah, that node. The thing is : there are two “Set scalar parameter value” nodes available. One is for Parameter Collections (the one you got) and one is for Dynamic Materials. See how the node wants a collection asset? It’s the wrong one for your needs. That happens often to me too, since they have the same name.

I suggest that you drag out the blue pin from the “Create Dynamic Material Instance” and then type to find the “Set Scalar Parameter Value” node. Since the blue pin is a dynamic material, the context sensitive search will only show the right “Set Scalar Parameter Value” node.

That aside, you also have to connect the output of the “Create Dynamic Material Instance” node (your newly created material) to the “New Decal Material” input of the “Set Decal Material”. Then you also need to connect your decal actor to Target of that “Set Decal Material”. That way the new material will be put on the decal actor.

You’re almost there!

PS: As a general rule, dragging the pin of the element you want to act on really helps to find what you can do with it. Keeping the context sensitive activated and typing to find what you want to do. It will only show nodes that work with that element. Moreover, like in the case of that Set Scalar Parameter, sometimes nodes don’t show up if you don’t have the target element dragged out. You can turn off Context Sensitive in that case to see ALL nodes ever and then figure out what the node requires.

1 Like