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

Group Unit teleport Region?

Status
Not open for further replies.
Level 2
Joined
Feb 24, 2012
Messages
8
Hi guys, does anyone know how to make a trigger that moves all the units from on region to another?

For example----

Start Teleportation
Events
Player - Player 1 (Red) types a chat message containing -start as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units in Player 1 Red <gen>) and do (Unit - Move (Matching unit) instantly to (Center of Light Side <gen>))
Unit Group - Pick every unit in (Units in Region 002 <gen>) and do (Unit - Move (Matching unit) instantly to (Center of Dark Side <gen>))
Trigger - Turn off (This trigger)


But nothing happens..
What am I doing wrong?
 
Level 20
Joined
Feb 23, 2014
Messages
1,265
It should work with (Picked unit) - just tested it, so either:

a) You're not sending the right chat command.
b) You messed up the regions and the ones you're moving the units from don't have any units.
c) Your move action doesn't look like this:

  • Unit Group - Pick every unit in (Units in Player 1 Red <gen>) and do (Unit - Move (Picked unit) instantly to (Center of Light Side <gen>))
 
Status
Not open for further replies.
Top