• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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