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

Creating TD, no waves after first will go.

Status
Not open for further replies.
Level 2
Joined
Jul 1, 2010
Messages
9
My inital first wave script is:
  • Events:
  • Time - Elapsed game time is 30.00 seconds
  • Conditions:
  • Actions:
  • Set CreepsBorn = 15
  • Set UnitType = Revolting Peasant
  • Trigger - Run Wave Spawner <gen> (ignoring conditions)
  • Custom script: call DestroyTrigger(GetTriggeringTrigger())
The script for the second wave (and pretty much modified for the following waves) is:
  • Events:
  • Unit - A unit owned by Player 12 (Brown) Dies
  • Conditions:
  • AliveCreeps Equal to 0
  • Actions:
  • Wait 10.00 seconds
  • Player - Add 15 to Player 1 (Red) Current gold
  • Set CreepsBorn = 10
  • Set UnitType = Footman
  • Trigger - Run Wave Spawner <gen> (ignoring conditions)
  • Custom script: call DestroyTrigger(GetTriggeringTrigger())
The first wave spawns perfectly. Then the second wave and all subsequent waves...simply don't spawn. I've worked off of the TD Tutorial by Craphter, and it worked yesterday. Today it appears to just not worked. I get the feeling I screwed up a variable, I'm not very good at the whole scripting bit, I want to learn but it's quite confusing. Could anyone point out where I dun goofed here? If it could be a problem with a connected script I can go ahead and upload the entire map.
 
Status
Not open for further replies.
Top