I'm having some trouble getting enemies that are created by the system to be destroyed. Basically what I'm trying to do is have a platform full of enemies in a random formation when a button is pressed. I have provided a capx below of what I have tried.
What I want:
When spacebar is pressed the formation of the previous enemies on the platform are destroyed, and the same set of enemies are respawned but in fewer numbers and at different positions.
Here's a capx of what I have tried to do: ***Change group "destroy" to activated and it should allow you to destroy the enemies.
dropbox.com/s/ppel5eommt7n9pi/spawnsoldier.capx
I tried to make it so when the user presses "M" the enemies are destroyed but that didn't seem to work either.