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

[Unsolved] Constructing buildings on other buildings

Status
Not open for further replies.
Level 2
Joined
Nov 11, 2012
Messages
6
Hi

I'm working on a RTS-map. I'd like to make each races main building only placeable on certain spots on the map. (Expansion locations)

I think the best way to do this would be to make it so that main buildings could only be placed on dummy buildings that are preplaced on map. (Similar to how refinery requires a vespene geyser) Same functionality can also be found in Age of Mythology.

I haven't been able to make this work. If I've understood right, refinery checks for vespene geyser by using validator 'Has Vespene'. I don't want my main building dummy unit to have harvestable resources, and I don't want it to say 'Vespene: 1250', so I can't use same validator with my unit. Is there a way to make validator to check for specific unit? Are there any validator tutorials out there? All help is appreciated. If there is an easier way to implement the functionality I'm looking for, please let me know.
 
Status
Not open for further replies.
Top