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