DOTA game help

I am trying to make a DOTA/ League of Legends/ Heroes of Newarth type of game. I am having trouble with waitForSeconds and Instantiate in C#. This is what I have so far.

    public GameObject Minion;
    public int MinionsPerWave;

	void Update () 
    {
        Instantiate(Minion, new Vector3(-290, 1, -275), Quaternion.identity);
        //MinionSpawn();
	}
	
    IEnumerator MinionSpawn() 
    {
        for (int i = 0; i < MinionsPerWave; i++)
        {
            //GameObject newObject = (GameObject)Instantiate(Minion, new Vector3(-290, 1, -275), Quaternion.identity); 
            Instantiate(Minion, new Vector3(-290, 1, -275), Quaternion.identity);
            yield return new WaitForSeconds(1);
        }
	}

I have some things commented out to show what I’ve tried. The way I have it is the only way Instantiate works.

My overall goal is to have an Instantiate of Minion come out every second until it reaches MinionsPerWave.

coroutines in C# must be called correctly (JS as so often hides that part), which means StartCoroutine

Thanks that worked great.

I have another question after I create the instantiate how do I access the instantiate. For instance if I wanted to destroy one of them or if some of their hit points got taken away? They all have the same name of Creep(clone).

Instantiate(…) returns the object instantiated

GameObject newObject = (GameObject)Instantiate(Minion, new Vector3(-290, 1, -275), Quaternion.identity);

newObject will be your instance you can use it like
newObject.SOMETHING; //Will access only this creep components(including scripts)

but you are calling it inside a loop wich means that you will have control only of the last creep(instance) that you have spawned. To resolve this you can create a List or an Array.

Sorry about my english.