Spawn Emitter At All Enemy Actor Locations On Death

Hi all,

I have my pickups set-up to increase the player speed and to also destroy all enemy actors. However, I would like to play a particle effect when the enemy players are destroyed. How would I do this upon their death?
I’ve given it a go in the screenshot below, but I can’t find a way of getting all enemy actor locations and then spawning the emitter for each one upon their death.
Any help with this would be greatly appreciated.

You would destroy all the actors right? If I didn’t misunderstood your question the solution would be:

Attach the array output of the Get actors of all class node to a foreachloop node and the output of the foreachloop node which is a single actor of all your enemy actors on map and attach that to the Get Actor Location node and Destroy Actor Node

Yep, that’s the intention! Can I add the Spawn Emitter at Location node to the foreachloop node so it spawns an emitter upon their death?
I want to basically do the following:
Player goes over the pickup - all enemy AI actors are destroyed - a particle emitter plays at their location (like an explosion or something) - the emitter is then destroyed once it’s finished playing.

You could place a particlesystemcomponent inside your enemy actor which get’s activated on death.

Is this the logic you want?

Yes, the logic is there, though this only spawns one emitter for all of the cubes in one location. For some reason it’s not spawning an emitter for every single enemy cube.

Well I tried it but it works fine for me, all my enemy actors spawned the emitter at their locations.