• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Move Trigger problem (units stop moving)

Status
Not open for further replies.
Level 3
Joined
Aug 6, 2009
Messages
24
  • xx2
    • Events
      • Time - Every 7.00 seconds of game time
    • Conditions
    • Actions
      • Set Temp_UnitGroup[1] = (Units in (Playable map area))
      • Unit Group - Pick every unit in Temp_UnitGroup[1] and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Owner of (Picked unit)) Equal to Player 1 (Red)
                      • (Owner of (Picked unit)) Equal to Player 2 (Blue)
                      • (Owner of (Picked unit)) Equal to Player 3 (Teal)
                      • (Owner of (Picked unit)) Equal to Player 4 (Purple)
                • Then - Actions
                  • Unit - Order (Picked unit) to Attack-Move To (Center of LB skull <gen>)
                  • Custom script: call DestroyGroup(udg_Temp_UnitGroup[1])
                • Else - Actions
                  • Unit - Order (Picked unit) to Attack-Move To (Center of DG skull <gen>)
                  • Custom script: call DestroyGroup(udg_Temp_UnitGroup[1])
            • Else - Actions
              • Do nothing
The trigger works fine when the amount of units is relatively low, but when there are units above 30 a few stop obeying orders at around 80 it gets pretty bad they group up and stand around and at 165 almost nothing moves.
i was thinking about adding regions and triggering units to attack move to the next region but when the units kill something/cast a spell they seem to forget that they where supposed to attack move to the next region. :cq:
 
Status
Not open for further replies.
Back
Top