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

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.
Top