Hello. I am working on a map where the AI and the user can only build particular units, i.e. vehicles. In addition I want to disable the ability to build barracks, Ghost academy, and engineering bay. How would I go about doing this? Thanks.
(Status of player (your User type players) = Playing (this is not really necesary but will condition our trigger not to work if there are not Active players)
Enable tech tree restrictions for player (your User type players)
From now you only have to set your Allow/Disallow Ability/Unit/Upgrade/Behavior/etc. for player (your User type players) for allowing/disallowing players to use determined type of units, abilities... (since every train ablity, if I remeber well, has its button to Restricted or Supressed, so now way of using it if tech tree restrictions are enabled unless you set the Allow/Disallow Action)