Warcraft III resources & community, 2003–2006 · archived

Assistance

16 posts
#16
Spawn System:

Area1 Spawn Setup
Events
Unit - A unit Finishes construction
Conditions
(*Build1 <gen>* contains (Constructed structure)) Equal to True
(Unit-type of (Constructed structure)) Equal to *Outpost*
Actions
Trigger - Turn on *Area1 Spawn <gen>*

Area1 Spawn (untick the initially on box)
Events
Time - Every *10.00* seconds of game time
Conditions
Actions
Unit - Create *2* *Footman* for (Owner of (Random unit from (Units in *Build1 <gen>*))) at (Center of *Spawn1 <gen>*) facing Default building facing degrees

Area1 Stop Spawn
Events
Unit - A unit Dies
Conditions
(*Build1 <gen>* contains (Triggering unit)) Equal to True
Actions
Trigger - Turn off *Area1 Spawn <gen>*

Regions (can be amed what you want them to named)
Build1 - Is the region that you build in, My suggestion is that you mark it with a doodad
Spawn1 - Is the region that spawns the units that you want (e.g. 2 Footman) each 10 seconds


Area1 Spawn Setup - This starts the trigger
Area1 Spawn - This Spawns the units at the time you specified (*10.00*)
Area1 Stop Spawn - Once the building is destroyed then it restarts the trigger system

The parts marked in ** are parts yo can change


I hope this helps and if you need any help on something then feel free to ask me (or PM)

Regards,
DD_Draco

P.S. I finaly got the energy to do this lol