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

[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