• 🏆 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!

[Trigger] Wave System

Status
Not open for further replies.
i have a problem with my wave system it only sends one wave in and no others
heres triggers.
  • First Timer
    • Events
      • Time - Elapsed game time is 0.10 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start Timer as a One-shot timer that will expire in 1.00 seconds
      • Set BeginningTimer = (Create Timer)
      • Countdown Timer - Create a timer window for (Last started timer) with title First Timer in...
  • Wave Timer
    • Events
      • Time - Timer expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy (Last created timer window)
      • Wait until ((All units of (Units owned by Player 9 (Gray)) are dead) Equal to (==) True), checking every 1.00 seconds
      • Countdown Timer - Start Timer as a Repeating timer that will expire in 30.00 seconds
      • Set Level = (Level + 1)
      • Game - Display to (All players) the text: (String(Level))
      • Countdown Timer - Create a timer window for (Last started timer) with title Next Wave in...
  • Wave 1
    • Events
      • Time - Timer expires
    • Conditions
      • Level Equal to (==) 1
    • Actions
      • Unit - Create 20 Human_Creep_Type[1] for Player 9 (Gray) at (Random point in Human Spawn <gen>) facing Default building facing (270.0) degrees
  • Wave 2
    • Events
      • Time - Timer expires
    • Conditions
      • Level Equal to (==) 2
    • Actions
      • Unit - Create 20 Footman for Player 9 (Gray) at (Random point in Human Spawn <gen>) facing Default building facing (270.0) degrees
 
Level 5
Joined
Nov 30, 2010
Messages
184
What is the original value of level variable? All trigger work one at a time. Starting with those arranged in the front to the back. Also, you only destroyed the timer window but not the timer. These may cause the second trigger to stall (the timer is stuck on expire so the trigger is continuously repeating itself and not allow other triggers to work. Overall, I recommend you rework the triggers and see if they work then.

Give rep points to those who help you ^^
 
2nd time I've seen you ask for rep. Even 'hinting' someone to give rep is not allowed. You are here to help, that's it. Would you like it if a Waitress just went out straightfoward and said 'I served you dinner so you owe me a tip', or even if she said 'You know, you should tip waitresses who treat you nicely'.

Perhaps add 'Set Level = (Level + 1)' to the other triggers.
 
Level 5
Joined
Nov 30, 2010
Messages
184
Ok ok... I know it's wrong now... I'm new to hive and don't know that before... Further more, I keep seeing others do so so I thought it was alright. =.= please stop scolding me... If you like, I would make a public apology (if I knew what sub forum to put it in).
 
Last edited:
Status
Not open for further replies.
Top