Zerg instant mission fail because of morphing buildings

There are two parts of this quasi-bug:

  1. Buildings under construction don’t count as buildings

  2. Zerg buildings don’t count as buildings when they are morphing into other buildings

The result is that zerg players can sometimes instantly and incorrectly “lose” a match or mission if all of their buildings are morphing and/or under construction. This is mostly noticeable in Episode VI, mission 2, if you morph both of your starter drones into buildings immediately. However, it can interfere with the proper functioning of scripted events in custom “use map settings” maps as well. For example, I was recently working on a map where a particular event was set to happen regularly as long as the Zerg player controlled a building at their start location. I had to change the trigger conditions because the event would stop happening every time the Zerg player morphed their Hatchery into a Lair or their Lair into a Hive.

To remedy this, I suggest the following changes:

  1. Trigger conditions should count a building under construction as “a building”, but not as the specific building that it will be; and

  2. Trigger conditions should count Zerg buildings that are morphing into other buildings as whatever they previously were

For #1, a mission failing when using all drones to build structures, that is not a bug. It was designed that way. The devs even overtly inform the players of that in the first mission of the original Zerg campaign.

For #2, SC has been retired, meaning there’s no work being done on it any more. What we have now is what it is forever more. As for the morphing building problem, try other solutions. One that comes to mind is hiding a spare building in an inaccessible area of the map.