• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

HIVE

Uncle
Uncle
They're close to similar but the first trigger would skip 17 since the Loop increases by 1 at the start of each cycle.

This would likely be the setup you want:
  • Actions
    • For each (Integer X) from 5 to 20, do (Actions)
      • Loop - Actions
        • Unit - Kill UnitArray[X] // Just an example of where your logic should go
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • X Equal to 12
          • Then - Actions
            • Set VariableSet X = 16
          • Else - Actions
Back
Top