Warcraft III resources & community, 2003–2006 · archived

Triger? Spawn Units

2 posts
#1

Triger? Spawn Units

Im not sure what forum i should put this on, so here...

How do we make units spawn from a area/building.Spawned unit will go into a targeted directiom. I have no idea about trigers...


Thnx
Celeste
#2
Wht did you post this in the JASS section. It's very simple to do with GUI trigger. Here's an example for it:
1. Make a rect with the tool palete. Name it something like spawn place.
2. Decide where will the units go attacking and make a point variable like Attack Point. Set it to the place of the attack.
3. Make a spawn trigger. For example :

Spawn
    Events
        Time - Every 20.00 seconds of game time
    Conditions
    Actions
        Unit - Create 5 Footman for Player 1 (Red) at (Center of Spawn Place <gen>) facing Attack_Point


4. Make an attack trigger. Example :

Attack
    Events
        Unit - A unit enters (Convert Spawn Place <gen> to a region)
    Conditions
    Actions
        Unit - Order (Entering unit) to Attack-Move To Attack_Point

5.enjoy :lol:

P.S. Don't ever press the Submit button twice