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

[Trigger] How to make a unit patrol in circles

Status
Not open for further replies.

UndeadServant

U

UndeadServant

How do u make a unit partol in circles.i figured out patrol,but ineed a unit to go like up left down right up again.
 
Hi
You just have to place 4 or if you want it to be a real circle and not a square, more areas (I called them positionX) and to order your unit to move to the next position after it entered one of them.

  • moveincircle
    • Events
      • Unit - A unit enters position1 <gen>
    • Conditions
    • Actions
      • Unit - Order (Triggering unit) to Move to (Center of position2 <gen>)
-Maybe you can do it in a simpler way, but right now, I can't imagine how.

[Offtopic]My editor is German, so I had to translate the trigger myself. Maybe some things are called different from how I called them.[/Offtopic]
 
Status
Not open for further replies.
Back
Top