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

A group of followers allies skeleton attacks

Status
Not open for further replies.
Level 12
Joined
Oct 28, 2019
Messages
473
  • 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
 
Status
Not open for further replies.
Top