• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

The enemy green units get stuck

Level 12
Joined
Aug 3, 2021
Messages
454
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: 25
  • WC3ScrnShot_040126_232421_01.png
    WC3ScrnShot_040126_232421_01.png
    3.8 MB · Views: 20
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