SC2Mapster Forums

Development > Triggers

Spawning mobs delay-time help

  • 3 posts
    #1 Nov 12, 2012 at 01:17 UTC - 0 likes

    I need some help on how to get mobs to spawn with a little delay between each other in a TD map. can anyone help me with this?

    #2 Nov 12, 2012 at 01:38 UTC - 0 likes

    This is a simple function that spawns units after each other, you still need to give them a series of orders along your path.

        Local Variables
            MobAmount = 1337 <Integer>
            i = 0 <Integer>
        Conditions
        Actions
            General - For each integer i from 1 to MobAmount with increment 1, do (Actions)
                Actions
                    Unit - Create 1 Marine for player 1 at TDSpawn using default facing (No Options)
                    General - Wait 1.5 Game Time seconds
    
    Last edited Nov 12, 2012 by Exaken

    So basically, generally and obviously... add more rocks.
    Hope is just deferred disapointment.
    Dropbox is an easy way to share maps between project members.

    #3 Nov 13, 2012 at 00:02 UTC - 0 likes

    Thanks for the help! All I need now is to figure out how to do it:) many thanks kind sir

  • 3 posts

You must login to post a comment. Don't have an account? Register to get one!