• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your 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.
Top