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

[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?
 
Level 20
Joined
Feb 23, 2014
Messages
1,265
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.
Top