You nearly figured it out on your own congratulations.
The Ability - Info - Validators field of the Build ability is the last part of the puzzle.
It is used ingame by refineries/assimilators/extractors so that they cannot be built on depleted vespene geysers.
Last edited Nov 17, 2012 by DrSuperEvil
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
http://static.sc2mapster.com/content/attachments/15/252/Screenshot2011-04-17_09_16_21.jpg
For my public assets look here!
http://www.sc2mapster.com/forums/resources/data-assets/46733-the-assets-of-evil/#1
KawKawKaw Regular ShmoeI'm trying to make it so players may not place pylons inside of their existing power fields. I'm hoping to get this to work similarly to how protoss cannot place buildings on creep. I have been digging around in Power Source and Power User behaviors for a few hours and I haven't made any progress. Perhaps I should just make pylons unbuildable within x radius of another pylon, but I wouldn't know how to go about this either. I would prefer to do this without triggers.
Any help is greatly appreciated! Thanks.
Edit: I've created a validator which I believe will tell me if a location is unpowered. Is there a way to use this validator to decide if a pylon's placement will be valid? (Not in an existing powerfield)