Create unit for player .. at position ..
set variable[The unit one] = last created unit
Create unit (again..blabalba) --> At position [Position of unit [The unit Variable]]
you could also make a trigger that does it on a timer. Make a timer that is triggered when a certain unit is created that unit starts that timer and every time the timer reaches 0 it can make another unit of XX type. The timer can be set to one shot or timer loop so say every 2sec after XX unit is created it makes xx unit when the timer hits 0. Lots of way to do this and all can be done in triggers. can even make a variable that it will loop thru to make different units each time.
Im not sure if this is a Data or a Trigger question. How would i make a unit spawn a unit around every time period?
@thegameplayer:
well..
You could make a unit variable.
Then in your trigger...
Create unit for player .. at position ..
set variable[The unit one] = last created unit
Create unit (again..blabalba) --> At position [Position of unit [The unit Variable]]
you could also make a trigger that does it on a timer. Make a timer that is triggered when a certain unit is created that unit starts that timer and every time the timer reaches 0 it can make another unit of XX type. The timer can be set to one shot or timer loop so say every 2sec after XX unit is created it makes xx unit when the timer hits 0. Lots of way to do this and all can be done in triggers. can even make a variable that it will loop thru to make different units each time.
http://forums.sc2mapster.com/resources/tutorials/3641-trigger-data-automatically-train-units/