What would be the best way to get the score from a spawned projectile of an enemy unit hitting you (or other units) passed back from the projectile to the enemy that spawned it. There are more than 1 enemy and they would all share the same name being spawned units themselves.
Im thinking i might need to rename each enemy on being spawned and then when spawning the projectile pass that unique name to it so that it can pass back the information to that particular unit or is there another simpler way?