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

Echo Slam v1.1

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
Here! An echo slam XD My first spell uploaded.Actually i can do some spell cooler than this but too lazy and i just want to have at least 1 spell to upload.So i find this easy XD then i made it.Hope you like it guys and look for leaks (If there are some.)

Changelog
v1.1 - Changed (Casting unit) to (Triggering unit).
Keywords:
Earth Shaker,Earth,Shaker,Dota,Echo Slam,Echo,Slam,Ricochet
Contents

Echo Slam (Map)

Reviews
15:41, 5th Jan 2015 Maker: The spell is too simple to be approved.
Level 25
Joined
May 11, 2007
Messages
4,651
  • Echo Slam
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Echo Slam
    • Actions
      • Set EchoSlam_Caster = (Casting unit)
      • Set EchoSlam_Casloc = (Position of EchoSlam_Caster)
      • Set EchoSlam_Group = (Units within 400.00 of EchoSlam_Casloc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is dead) Not equal to True) and ((((Matching unit) is Mechanical) Not equal to True) and (((Matching unit) belongs to an enemy of (Ow
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (EchoSlam_Group is empty) Not equal to True
        • Then - Actions
          • Unit Group - Pick every unit in EchoSlam_Group and do (Actions)
            • Loop - Actions
              • Set EchoSlam_Target = (Picked unit)
              • Set EchoSlam_TargetLoc = (Position of EchoSlam_Target)
              • Unit - Create 1 Echo Slam Dummy Caster for (Owner of EchoSlam_Caster) at EchoSlam_TargetLoc facing Default building facing degrees
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Add Echo to (Last created unit)
              • Unit - Set level of Echo for (Last created unit) to (Level of Echo Slam for EchoSlam_Caster)
              • Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
        • Else - Actions
Aye some leaks but nothing can't be fixed. Check the link in ma sig, do that and it's ok.
Change casting unit to triggering unit too.
 
Level 19
Joined
Mar 18, 2012
Messages
1,716
You don't have to check if the group is empty or not. The ForGroup native ends in case the group is empty.

I think the concept is too easy

You should use only one dummy caster unit, instead of one per spell*units affected.
To achieve this you have to create a dummy casting unit in you map initialization trigger.
Set the last createdunit to EchoSlam_Dummy.
Move the dummy to the desired point
Change the owner to the TriggerPlayer. (Owner of casting unit)
Order the fan of knives.
That's it.
 
Top