[SOLVED (finally)] Trying to get outdated tutorial to work

Hello, Im following this tutorial, but its outdated for 18.2. How can I get this one to work?

https://books.google.no/books?id=tWp…page&q&f=false

I want the projectile to change color of a material when I hit it, but when I compile I get this. I tried to add the target from “Set Material by name” to Other Comp on the Event hit node, but the material still dosent change color when the projectile hit it. My mesh have two material slots and the one slot is the sloth i want the material to change to when I hit the mesh.

I tried this, but that didnt work.

Now I tried this and this should work, but its not. I want the red material to change to black when the projectile hit it. What am I doing wrong?

You need to connect the (AsFirstpersonprojectile) pin to the set material by name blue pin for target i believe that should do the trick as to the third image some pins aren’t connected which is why that is not working if they are not connected they will be none responsive hope this helps

Hey, you want to change color of projectile or hit actor? Could you possibly paste screenshots of projectile and that actor?
As Burkey mention if node has execution pins (white ones) they need to be connected to other or simply they won’t be executed.

Finally found the solution. I think I had to create a new material for the projectile to switch to. Thanks for your time, anyway :slight_smile: