• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

A group of followers allies skeleton attacks

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