A0Nasser sorry for not replying for some time, I was not at home and I had no means of contact anyway, I have posted a link to my .capx file here.
s000.tinyupload.com/?file_id=96448150118341221325
basically I want the enemies to all have collision boxes and function normally, each should take the specific amount of hits to die (in this case 2 hits and the entities along with their specific collision box to be destroyed)
but they either not taking any damage or they all die at once and leave their collision boxes intact or the rest of the enemies don't go in the direction of the player, they go away from him, which is why I need to know how to execute "for each" properly or I think I need to use "for each"
and here's a screenshot of what I'm trying to do