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

Need Help with Spell

Status
Not open for further replies.
Level 19
Joined
Feb 25, 2009
Messages
2,004
  • AOE Frost Armor
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to <Ability>
    • Actions
      • Set Location = (Target point of ability being cast)
      • Set Group = (Units within 250.00 of Location matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True))))
      • Unit Group - Pick every unit in Group and do (Actions)
        • Loop - Actions
          • Set T_Loc = (Position of (Picked unit))
          • Unit - Create 1 <Unit> for (Owner of (Triggering unit)) at T_Loc facing Default building facing degrees
          • Unit - Add <Ability> to (Last created unit)
          • Unit - Order (Last created unit) to Undead Lich - Frost Armor (Picked unit)
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation (udg_T_Loc)
      • Custom script: call RemoveLocation (udg_Location)
      • Custom script: call DestroyGroup (udg_Group)
 
Status
Not open for further replies.
Top