- 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
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: