• 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.

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)
 
Level 4
Joined
Dec 10, 2005
Messages
73
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
 
Level 2
Joined
Dec 22, 2005
Messages
8
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)
 
Status
Not open for further replies.
Top