• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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