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

Red Dot

Status
Not open for further replies.
Level 17
Joined
Jun 17, 2010
Messages
2,275
Well i know why it wont work, but i dont know how to fix it. It stores the attacking unit as the footmen, but since the footmen dont have the ability, it never works. (i think)

  • Dot Creation
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Random integer number between 1 and 100) Equal to ((10 x (Level of Wounding Shadow for (Attacking unit))) + 5)
      • (Level of Wounding Shadow for (Attacking unit)) Greater than 0
    • Actions
      • Set NumberOfDotted = (NumberOfDotted + 1)
      • Set Attacked[NumberOfDotted] = (Triggering unit)
      • Set Attacker[NumberOfDotted] = (Attacking unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Attacker[(NumberOfDotted - 1)] Equal to Attacker[NumberOfDotted]
        • Then - Actions
          • Set Attacker[(NumberOfDotted - 1)] = (Attacking unit)
        • Else - Actions
      • Floating Text - Create floating text that reads . above Attacked[NumberOfDotted] with Z offset 0.00, using font size 50.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change the lifespan of (Last created floating text) to 15.00 seconds
      • Set RedDot[NumberOfDotted] = (Last created floating text)
 
Status
Not open for further replies.
Back
Top