Instantiated transform issues

I’m creating a game where I need a bunch of small instantiated units to follow an object around the game world when a key is pressed. I am able to choose the right transform object for them when they are part of the initial hierarchy; however this transform cannot be used when I create the prefab for instantiation.

I have been able to set it to follow another prefab object, however it only goes to where that initial object was created and not it’s position as it moves around.

any ideas?

okay, seemed to have fixed my problem. Seems that one needs to assign the target through the script instead of through the editor.