I'm unable to find any info on this in the forums. I'm trying to create a map where you can capture territories (areas on the map). When a player captures a territory, I want them to be able to build in that territory area while no one else can. For example, in the picture below, I'd want red team to only be able to build building in the red area, while the blue team can only build buildings in the blue area. Note that these areas/territories can change ownership over the course of the game.
So far the only way I can think of doing this is on capture create an invisible unit with a gigantic footprint whose Placement Layer is flagged with something unique to that player and the kind of buildings they can make. In that instance, I'd have to make however many copies of the same barracks for each player and somehow come up with unique Placement Layer flags for each of them... which doesn't really sound feasible for more than 2 players.
Any help on this would be greatly appreciated. Thank you!
I'm unable to find any info on this in the forums. I'm trying to create a map where you can capture territories (areas on the map). When a player captures a territory, I want them to be able to build in that territory area while no one else can. For example, in the picture below, I'd want red team to only be able to build building in the red area, while the blue team can only build buildings in the blue area. Note that these areas/territories can change ownership over the course of the game.
[img]//i.imgur.com/CHmK8Wd.png" rel="noopener nofollow" target="_blank">http://i.imgur.com/CHmK8Wd.png[/img">http://i.imgur.com/CHmK8Wd.png[/img]
So far the only way I can think of doing this is on capture create an invisible unit with a gigantic footprint whose Placement Layer is flagged with something unique to that player and the kind of buildings they can make. In that instance, I'd have to make however many copies of the same barracks for each player and somehow come up with unique Placement Layer flags for each of them... which doesn't really sound feasible for more than 2 players.
Any help on this would be greatly appreciated. Thank you!
you could use the protoss energy behaviour to limit building in certain areas.
..... wow, I feel like a big idiot. Why didn't I think of that... Hopefully I'll be able to disable the visibility of the power field. Thank you!!
Worked like a charm... not surprisingly. Thanks again!