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
Last edited:
