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

[Trigger] Make units complete their path

Status
Not open for further replies.
Hi people =P
I'm quite sure there's a topic about it, but I couldn't find it, sorry...

I have a map with a loooong path, and I want the neutral units to walk through it from one side to another.
But in the middle of the path, they would stop and get back to their positions.
So I made the trigger:

  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
    • (Issued order) equal to stop
  • Actions
    • Set L = Position of (Castle)
    • Unit - Order (Triggering Unit) to attack-move to L
It works. But, when they fight against other units, they will return after the battle ends, and I can't fix it...

Any help? xD
(I know JASS pretty well, if necessary)

Thanks!!
Hossomi-sama
 
Status
Not open for further replies.
Top