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

[General] Hero Defense Trigger!

Status
Not open for further replies.
Level 4
Joined
May 10, 2012
Messages
55
Hi Hive,
I'm making a Hero Defense map, and I want to make a trigger when:

1 minute elapses to spawn units in some regions...
and when all units are dead, a count down timer appears and when 30 sec elapse another wave spawns and so on... Can any one help me?

+REP for the helper
 
Level 17
Joined
Jul 17, 2011
Messages
1,863
[trigger=trigger]
Event - Elapsed game time is 60.00
Conditions
Actions
Create 20 Units For Player1(Red) at Region Facing default angle.
[/trigger]
[trigger=second]
Event
Every 2.00 Seconds of Game Time
Conditions
Actions
Pick Every Unit In Playable Map Area Owned By Player and do Action
Loop Actions
Set integer = integer+1
If/Then/Else
If
integer less than 1
Create a one shot Timer that will expire in 30 seconds
[/trigger]
  • Event
  • A TImer expires
  • Conditions
  • Actions
  • Create 20 Units For Player1(Red) at Region Facing default angle.
you will need to specify what kind of units will be spawned and how many as well you can do that via variables also read this
http://www.hiveworkshop.com/forums/...-279/darkgroms-gui-tutorial-beginners-214275/
 
Status
Not open for further replies.
Top