Warcraft III resources & community, 2003–2006 · archived

spawningtrigger helpplz

3 posts
#1

spawningtrigger helpplz

Um could someone help me this is the first time i'm making an rpg map and i need to make a trigger so that when a player controlled hero gets nere a spawn building it will start spawning a specific unit and stop spawning once either a specific unit amount is reached or the spawning building dies. I want it to act like the spawners in video game rpg. 'm still getting used to triggers so any help would be reatly appreciated.
#2
If you're interested in learning it, you can open up the Warchasers map that's included with the retail game. That has exactly the triggers you describe in it.
#3
Another way is:

Event:
Every ??? Second of elapsed game time
Condition:
(Region x) contains (hero) -or- Unit owned by Player)= true
Action:
Unit- Spawn a (unit-type) at center of (region x)
Unit- Order (last created unit) to...(order)

Hope this helps.
-VGsatomi