Hey, for my game I'm using 2 active objects for each enemy. A parent object for the enemy and its values, and a child object for its animation.
Now the issue I have with this is that I can't figure out how to destroy the child object when the parent object's health reaches 0. I mean, I can do 'Health of Parent = 0 -> Destroy Parent, Destroy Child', but then that destroys all versions of the child object (including the ones whose parent object still lives). I know that I need to add a condition that only applies to the specific enemy but I don't know how I could do this. Does anyone have an idea?