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

How in the heck do they do that?!

Status
Not open for further replies.
Level 3
Joined
Oct 8, 2004
Messages
31
I have have a problem with unit stocks in taverns/altars. I am more or less trying to do the same sort of hero/unit selection that you see in alot of current maps including DOTA. A unit is chosen from specified building and once chosen is removed from the building so that you may not have duplicates of the same unit. Picked unit is then created at a starting location for the player that clicked the icon in the building. Any help anyone can give me is much appreciated. Thank you.
 
Level 2
Joined
Aug 26, 2004
Messages
29
Two ways:

1 - Remove the unit from the tavern's stock (one of the actions under Neutral Building or something to that effect does it)
2 - The way DOTA does it: After a unit is selected, restrict the training of all players for that unit to 0.
 
Status
Not open for further replies.
Top