FX when hitting AI

I want to spawn an explosion when i am hitting my AI. at the moment i only was able to spawn the explosion where the linetrace hit, so i don’t know how i can limit this to only spawn an emitter when i hit the AI. and with ==(objects), it only works with the original one, but not with the other copied ones.

if you want it to occur only when hitting the Ai, then I would put the spawn emitter at location node on the ai actor BP in whichever damage event your using:

311699-damage-event.png

that way its only called if the actor acknowledges damage.

as far as the hit actor == situation, your trying to compare against a specific spawned actor reference. If you want to test the class, then you need to drag out a get class node to compare that: