• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] How to make units spawn after Timer?

Status
Not open for further replies.
Level 9
Joined
Oct 6, 2007
Messages
406
Ok, I'm making a Doom 3 map, and for those who have played this game, or just know what I'm talking about, you'll know my problem.

I put in a Timer for the portal and put it at 5 minutes. But, what I want to do is to have the demonic invasion start as soon as the timer is over.
How can I do this??
 
Level 8
Joined
Feb 20, 2007
Messages
338
We assume you have a trigger that reads something like this:

Action:

Unit-Create 1 X Type unit At so and so region.

-->That is not an exact trigger function.

I do not know what a Doom system is. I assume that you want these creatures to go somewhere other than just spawn at your portal gate.

Is this a reoccurring event? meaning every 5 minutes a group of nasties from the depths of hades comes spewing out of the hades portal, then you use a timer system:

  • Next Round
    • Events
      • Time - Every 55.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Run Spawn Monsters <gen> (ignoring conditions)
Then you have spawn monsters trigger:

  • Spawn Monsters
    • Events
    • Conditions
    • Actions
      • Unit - Create 1 Thunder Lizard for Player 9 (Gray) at (Center of Red Path Spawn <gen>) facing 0.00 degrees
If you want more than just one lizard being spawned you would use the integer A function:

  • For each (Integer A) from 1 to 21, do (Unit - Create 1 Storm Wyrm for Neutral Hostile at (Center of Red Path Spawn <gen>) 0.00 degrees.
If you have your monsters running to another region then you have to have a series of pathing triggers:

  • Red Path 01
    • Events
      • Unit - A unit enters Red Path Spawn <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 9 (Gray)
    • Actions
      • Wait 0.40 seconds
      • Unit - Order (Triggering unit) to Move To (Center of Red Path 01 <gen>)
If you have multiple levels of creeps spawning, a different level each time the timer changes then you need to go and download a Tower Defense map: http://www.warcraft.org/maps/details/c3415 Bow TD ULTIMATE 50 Levels v.2.0 its in GUI has a decent level set up and pathing system along with a timer and board system.

Its a "clean" map meaning no excessive doodads (If I recall doodad count was zero) is a tiny map. I think that the triggers are self evident.

Anyway it has a level set up which assigns types of creeps to each level via variables so you do not need excessive number of triggers (one for each level) just one that sets up the levels and one that generates the creeps per level.
 
Status
Not open for further replies.
Top