🏆 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!
Floating Text - Create floating text that reads (String(0)) above Attacked_Energy_Unit with Z offset 0 , using font size 15.00 , color ( 0.00 %, 100.00 %, 0.00 %), and 20.00 % transparency
Set Variable Set FloatingTextDMG = (Last created floating text)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 500.00 of (Position of Attacked_Energy_Unit) matching ((Owner of (Matching unit)) Not equal to Player 1 (Red)).)) Not equal to 0
Then - Actions
Floating Text - Show FloatingTextDMG for Player Group - Player 1 (Red)
Floating Text - Change the position of FloatingTextDMG to Attacked_Energy_Unit with Z offset 0 .
Else - Actions
Floating Text - Hide FloatingTextDMG for Player Group - Player 1 (Red)
Unit Group - Pick every unit in (Units within 550.00 of (Position of Attacked_Energy_Unit) matching ((Owner of (Picked unit)) Not equal to Player 1 (Red)).) and do (Actions)
Loop - Actions
Unit - Cause Attacked_Energy_Unit to damage (Picked unit) , dealing (Real((Charge_no x 10))) damage of attack type Spells and damage type Fire
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\Banish\BanishTarget.mdl
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.