• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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,864
[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