I'll try to explain.. hope it will make sense.
A lot of enemies are created
These are assigned a random value.
Based on this value they create a different object - and I try to assign them both a unique value (I might do that wrong using a huge random number)
When the enemy is destroyed I need also the created object to be destroyed.
I'm gonna link to an example file, and hope someone can point out my grave mistakes.
When you click on them the object should be destroyed, but it only happens sometimes.