• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Custom Pathing System?

Status
Not open for further replies.
Level 12
Joined
May 20, 2009
Messages
822
Reading this, it seems possible. I'm curious because, in my mod I want micro to be kind of how it is in SC2, where units ball up and don't get caught on each other. The first part is succeeded by doing

  • Formation Move
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(move))
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Unit - Order (Triggering unit) to Move To (Target point of issued order)
          • Trigger - Turn on (This trigger)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Issued order) Equal to (Order(smart))
            • Then - Actions
              • Trigger - Turn off (This trigger)
              • Unit - Order (Triggering unit) to Right-Click (Target point of issued order)
              • Trigger - Turn on (This trigger)
            • Else - Actions
But they get caught on each other often, getting stuck, having to stop because they can't path there anymore. Turning the collision size down slightly reduces the occurrence of this, but it still happens too often for my tastes.

Is there a way to make units not get stuck on each other without having to turn their collision completely off (Which would result in them being able to walk INTO each other and through doodads, structures, and destructibles...)


EDIT: I might have a solution. I'll tell it in a bit. Still help if you want to though. =)
 
Status
Not open for further replies.
Top