A group of followers allies skeleton attacks

Level 8
Oct 28, 2019
  • Follow Sylvanas
    • Events
      • Time - Every 1.50 seconds of game time
    • Conditions
    • Actions
      • Set VariableSet PointSylv = (Position of Sylvanas 0005 <gen>)
      • Set VariableSet UnitsInRangeGroup = (Units within 500.00 of PointSylv matching (((Matching unit) belongs to an enemy of Player 1 (Red).) Equal to True).)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (UnitsInRangeGroup is empty) Equal to True
          • (All units of UnitsInRangeGroup are dead) Equal to True
        • Then - Actions
          • Unit Group - Order SkeletonWarrGroup to Attack-Move To (Position of Sylvanas 0005 <gen>)
        • Else - Actions
          • Custom script: call DestroyGroup(udg_UnitsInRangeGroup)
when there are no ememies nearby, the skeleton follow the hero, but even with this trigger, when the hero is near a corpse the skeleton dont follow, need fix this