Spawner Launcher

###I’m trying to design a gun that launches projectile eggs that spawn units. Pretty much an egg launcher that spawns minions to fight enemy players. Will I have to work out an AI for the units & how do I link the spawn point of each creature to the egg after it’s fired & makes impact with a surface?###