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

Triggered AOE heal help

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
im trying to make a triggered AOE heal ability, using unit groups but it doesnt seem to work correctly does this look rite?

  • AOE heal priest
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Holy Converse
    • Actions
      • Set Fearcaster = (Triggering unit)
      • Set Fear1 = (Position of Fearcaster)
      • Set Fear2 = (Position of (Picked unit))
      • Set Feargroup = (Units within 500.00 of Fear1 matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is A Hero) Equal to True) and ((((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True) and ((Unit-type of (Matching unit)) Not eq
      • Unit Group - Pick every unit in Feargroup and do (Actions)
        • Loop - Actions
          • Unit - Cause (Triggering unit) to damage (Picked unit), dealing (-50.00 x (Real((Level of Holy Converse for (Triggering unit))))) damage of attack type Spells and damage type Cold
 
Level 2
Joined
Jul 17, 2009
Messages
27
Your
  • Set Fear2 = (Position of (Picked unit))
line doesn't do anything (worthwhile), and the variable isn't being used. It won't effect the trigger, so you can safely remove it.
 
Status
Not open for further replies.
Top