• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Need trigger to move specific unit

Status
Not open for further replies.
Level 4
Joined
Dec 10, 2015
Messages
85
Need trigger to move specific unit created by trigger

Hello,
So in short, there's a building that sell unit.
When a player buy a unit, it is removed and four are created for a computer player : one on top lane, one on bottom lane, two on middle lane.
All trigger are made for the creation of those unit.
Now, I created what I call a Focus Menu, when you press on a button, it changes your lane focus and, in background, a variable (0 = no focus, 1=focus on top lane, 2 = focus on mid lane, 3 = focus on bot lane).
I need a tigger to make it work now. For exemple, when Player 3 buy a unit, units will be created normally (1-2-1) and then be moved to the corresponding lane.
The place where untis are created are in specific region. I want to move all created unit by the trigger mentionned before to the region where the player focus.

If anyone can help, thanks in advance
 
Last edited:
I think I (almost) got what you're saying but just to be clear; you want it so that when the unit is bought by a player, the lane that the player is "focusing" on is where the extra unit will go? Sort of like this:
  • Player 3 buys a unit.
  • Their focus is on the top lane (Top-Mid-Bot).
  • The 4 units created will spawn (2-1-1).
Is that correct or does it always go (1-2-1)?
 
Status
Not open for further replies.
Back
Top