[Trigger] Rally points after switching unit owners

Status
Not open for further replies.
Level 1
Joined
Mar 11, 2014
Messages
2
Once a unit is trained it instantly switches control to another player but it doesnt follow the rally point that the ex-owner gave from the building instead the unit will just sit there doing nothing.
Anyway to make this work?
 
You need to store the rally point of the building that trains the unit as a Point variable.
Once the unit finishes training, you change its owner and then issue it a command to move to the Point variable that you have (i.e. the location of the building's rally point).

Keywords.jpg


I did a quick test of this trigger and everything appears to be working.
 
Last edited:
Status
Not open for further replies.
Back
Top