I want to have an NPC have different material effects play based on what killed it.
I have the material effect incinerate the NPC’s mesh when it dies and there is a variable that changes the color.
I’m trying to figure out how to get a material to change / the variable to change based on what projectile hit / killed the NPC.
I have 3 projectiles at the moment from a “laser” based weapon.
Anyone have any ideas? The list of ways that I’ve attempted is probably longer than any suggestion you give because clearly I’m out of my depths with this. One way for example, I thought I could Set a Switch on Int through an overlap but I must not be tagging it right. Or it’s not possible that way.