• 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!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

Third Runner spawning after the second runner

Level 6
Joined
Aug 3, 2021
Messages
109
Hello its Pekisa7 again. I still haven't figured out how to stop the third runner from spawning after the second because when I kill the first runner the second spawns than the third runner spawns with the second. Do i just set runner 2 as a variable. I really don't know. Can someone help me with this? Here are the triggers :
  • Start Timer 03
    • Events
      • Unit - A unit owned by Player 15 (Turquoise) Dies
    • Conditions
      • (Dying unit) Equal to Runner
    • Actions
      • Set RunnerActive = True
      • Countdown Timer - Start RunnerTimer03 as a One-shot timer that will expire in 45.00 seconds
  • Third Runner Timer Expires
    • Events
      • Time - RunnerTimer03 expires
    • Conditions
      • ExitCinematicRunning Equal to False
      • (QuestRunner is failed) Equal to False
      • GameOver Equal to False
    • Actions
      • Trigger - Add Runner 03 <gen> to the trigger queue (Checking conditions)
      • Trigger - Turn off Third Runner Timer Expires <gen>
  • Runner 03
    • Events
    • Conditions
      • RunnerActive Equal to True
      • GameOver Equal to False
    • Actions
      • Countdown Timer - Hide RunnerTimerWindow
      • Leaderboard - Show RunnerLeaderboard
      • Set RunnerRandomLine = (Random real number between 0.00 and 2.00)
      • Sound - Setup all volume channels for speech
      • Sound - Reset all volume channels to 100%
      • Cinematic - Send transmission to (All players) from a Player 5 (Yellow) Footman named Footman at (Player 5 (Yellow) start location): Play Sned_in_the_runner_03 <gen> and display These undead are st.... Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from a Player 4 (Purple) Necromancer named Necromancer at (Player 4 (Purple) start location): Play Before_he_reaches_Capital_City <gen> and display My King, humans hav.... Modify duration: Add 0.00 seconds and Wait
      • Unit - Create 1 Runner for Player 15 (Turquoise) at (Center of RunnerStart <gen>) facing 270.00 degrees
      • Set Runner = (Last created unit)
      • Unit - Set Runner movement speed to ((Default movement speed of Runner) - RunnerMovmentSpeed)
      • Trigger - Run RandomizePath For Runner <gen> (ignoring conditions)
      • Unit - Order Runner to Move To (Center of RunnerMoveTeleport <gen>)
      • Trigger - Turn on RunnerHeartbeat <gen>
      • Cinematic - Ping minimap for Player Group - Player 4 (Purple) at (Center of RunnerStart <gen>) for 2.00 seconds
      • Camera - Set a spacebar-point for Player 4 (Purple) at (Center of RunnerStart <gen>)
      • Countdown Timer - Start TimerRunnerFailsafe as a One-shot timer that will expire in 300.00 seconds
      • Trigger - Remove (This trigger) from the trigger queue
 
Level 6
Joined
Jul 7, 2006
Messages
26
base.gif
Start Timer 03
  • joinminus.gif
    events.gif
    Events
    • line.gif
      joinbottom.gif
      unit.gif
      Unit - A unit owned by Player 15 (Turquoise) Dies
  • joinminus.gif
    cond.gif
    Conditions
    • line.gif
      joinbottom.gif
      if.gif
      (Dying unit) Equal to Runner
  • joinbottomminus.gif
    actions.gif
    Actions
    • empty.gif
      join.gif
      set.gif
      Set RunnerActive = True
    • empty.gif
      joinbottom.gif
      timer.gif
      Countdown Timer - Start RunnerTimer03 as a One-shot timer that will expire in 45.00 seconds
You don't have a condition that differentiates which runner is currently spawned or dying so this trigger is triggering when the first runner is dying simultaneously with your 2nd runner start timer

  • Runner_Number Equal to 2
add in some integer comparison like above and add in the actions:

  • Set VariableSet Runner_Number = (Runner_Number + 1)
whenever a runner is being spawned, if your first runner is preplaced make sure to set the variables initial value to 1 or set it to 1 in some initialization trigger.
 
Top