• 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.

[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