• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Loop Action/Trigger? How?

Status
Not open for further replies.
Level 3
Joined
Sep 12, 2005
Messages
19
Hey im making a map that requires units to spawn (i made that trigger) like in dota, and as in dota to spawn in loops of so and so seconds. I need to find out how to get that effect. Please if you know be as specific and detailed as possible (im really slow sometimes)
 
So it an Event that is repeated over and over again right?

To do this add this event

Code:
Event
Time - Every 5.00 seconds of game time
 
You need a simple trigger, they spawn in a region. then the trigger reruns and spawns again
Code:
Event
   Map Intialization
Conditions
   None
Actions
   Unit - Create (insert number) (insert unit) for Player 1 (Red) at (Center of (REGION)) facing Default building facing degrees
   Wait (insert time)
   Trigger - Run (This trigger) (ignoring conditions)
 
Geh, i figure out ways to make them work, not the best way... all my triggers probably end up like that...
 
Status
Not open for further replies.
Back
Top