The enemy green units get stuck

Level 12
Joined
Aug 3, 2021
Messages
436
Hello it's Pekisa7. I am almost fully finished with my map just need to test it further. I came here to ask how do I fix this bug? The demon green units get stuck when attacking the second time. They go to the bottom of the map instead of Terrordar summoning a portal again and going through it. When I made a trigger called Demon AI Fix it had no problem Terrorrdar made the portal and attacked the second time. I made a second AI Fix for orange orcs so they attack the player purple base and it worked. But the demons get stuck at the bottom of my map when attacking the second time passing the portal region and going down . Can you guys help me? Best Regards from Pekisa7.
  • Demon AI Fix
    • Events
      • Unit - A unit enters PortalRegion <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 7 (Green)
    • Actions
      • Set DemonFixPoint = (Center of PortalRegion <gen>)
      • Unit Group - Order (Units in (Entire map) owned by Player 7 (Green)) to Attack-Move To DemonFixPoint
      • Custom script: call RemoveLocation (udg_DemonFixPoint)
  • Orc AI Fix
    • Events
      • Unit - A unit enters TeleportTo <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 6 (Orange)
    • Actions
      • Unit Group - Order (Units in (Entire map) owned by Player 6 (Orange)) to Attack-Move To (Player 4 (Purple) start location)
 

Attachments

  • WC3ScrnShot_040126_195443_01.png
    WC3ScrnShot_040126_195443_01.png
    3.6 MB · Views: 24
  • WC3ScrnShot_040126_232421_01.png
    WC3ScrnShot_040126_232421_01.png
    3.8 MB · Views: 19
Last edited:
Hello it's Pekisa7. I am almost fully finished with my map just need to test it further. I came here to ask how do I fix this bug? The demon green units get stuck when attacking the second time. They go to the bottom of the map instead of Terrordar summoning a portal again and going through it. When I made a trigger called Demon AI Fix it had no problem Terrorrdar made the portal and attacked the second time. I made a second AI Fix for orange orcs so they attack the player purple base and it worked. But the demons get stuck at the bottom of my map when attacking the second time passing the portal region and going down . Can you guys help me? Best Regards from Pekisa7.
Hi @Pekisa7 . This problem seems to be related to the collision size of these units. Set this value to 0.00 (Object Editor => Units => Unit witth problem => Pathing - Collision Size) so we can see if that's the issue.
 
Back
Top