Hello there! I am having a problem with my mod.
I am making a mod that will work on every map, out there- using the new feature Blizzard introduced. (Custom map - Play with mod)
The mod has 1 Hatchery - 1 Nexus & 1 Command Center spawning in a random location on the map.
The problem is, some times, they will spawn on places they shouldnt, like inside minerals- in hills- stuff like that.
So i need to have it find a valid location before spawning, and i dont know how, so please help! :)
Might just be because you're using the option "ignore placement". If you get rid of that, then it won't spawn inside of stuff like minerals. Not sure what kind of hills you're talking about, but it shouldn't spawn on that lowest elevation area, where no one is able to walk.