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

Spawning units and ordering them to move only 1 way

Status
Not open for further replies.
Level 5
Joined
Jul 25, 2008
Messages
155
Hello, I was wondering how to make the spawning units go to one way only, anyone knows how I do this?
 
Level 7
Joined
Jul 1, 2008
Messages
1,025
If your making a hero defense type map you will want to use the attack-move option and to make sure they go exactly where you want them I'd order them to go from one region to the next, so when they reach one region you order them to the next and so on.

Waves getting stuck is BAAAD for a map so you should try and avoid that as much as poss.
 
Level 5
Joined
Jul 25, 2008
Messages
155
Yeah I'm doing a hero wars map, but without being able to send your own monsters :)
I'll try your tip then, it's a kinda change in the terrain from walls, so ill add a new region each time the road changes

  • Unit - Order (Picked unit) to Move To (Center of (Playable map area))
is there any way to make 200 units to go one way? instead of taking picked units one at a time (sorry for double posting :()

  • Actions
  • Unit Group - Pick every unit in (Units in R Left <gen>) and do (Actions)
  • Loop - Actions
  • Unit - Order (Picked unit) to Move To (Center of R Rigth <gen>)
ah this :)
note: sorry for double post!
 
Last edited by a moderator:
Level 7
Joined
Jul 1, 2008
Messages
1,025
Well I made a hero defense map ages ago and I just used:

  • Event: Unit enters region (your region)
  • Condition: Owner of entering unit is Equal to Neutral Hostile (or whichever player is the creeps)
  • Action: Order entering unit to attack-move to region (your next region)
Thats the simplest way to do it and it worked fine on my map.
 
Level 5
Joined
Jul 25, 2008
Messages
155
Oh thanks marshmalo :) The move to didn't work because they didn't attack on the way -.-'
The trigger looks like this now ^^
  • spawn 6
    • Events
      • Time - Elapsed game time is 200.00 seconds
    • Conditions
    • Actions
      • Unit - Create 25 Undead Freak for Player 6 (Orange) at (Center of Spawn 1 <gen>) facing Default building facing degrees
      • Unit Group - Pick every unit in (Units in Spawn 1 <gen>) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Move To (Center of End Loc <gen>)
      • Game - Display to (All players) for 5.00 seconds the text: Sixth wave: Undead ...
 
Last edited:
Status
Not open for further replies.
Top