Lets say my project spawns 10 bandits.
Then, each bandit will shoot one projectile to a random direction.
Said projectile will be moving randomly around the whole scene...
When a projectile touches a bandit, the bandit dies.
Now, I want something that will sound weird...
I want the projectiles to know *which* bandit, of all these, was the one that shot said projectile. Said bandit would be the projectile's owner. If the projectile were to hit its owner, the owner will survive. But if it hits any other bandits, they will die.
The question is, is there a way to create a "link" between the bandit and the projectile he shot? Something like a tag (but I won't use tags because I already got a different use for them), so if the bandit's tag and the projectile's tag matches, I can tell that this bandit it this projectile's owner. Again, I won't use the tag property because I am already using it for something else...
Well, yeah. Sounds weird.
Nah, my game isn't about bandits nor projectiles >.>