• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help me making wave just after the other one

Status
Not open for further replies.
Level 2
Joined
Apr 2, 2012
Messages
17
Help me please!

Hi!

I'm making this TD.
It has 2 teams, they are figting against each other. The team who reaches the last level first wins, or if the other teams looses all their lives.
I have made an unit count, so when one of the teams have killed all their units a new wave should start. It works perfect, BUT the problem is that I cant figure out how to make wave go up. So that if we start at level one, then level 2 should start just after all units killed, but this doesnt works.

Can somebody help me?

Ps. I have linked the game.
 

Attachments

  • M-TowerDefense (1).w3x
    48.5 KB · Views: 41
Level 20
Joined
Jul 14, 2011
Messages
3,213
Save all the waves into an array and bind

Set UnitType[1] = Wave 1 creep
Set UnitType[2] = Wave 2 creep

When the enemy creeps = 0, set "Wave = Wave + 1" and spawn UnitType[Wave] creeps.
 
Status
Not open for further replies.
Top