Returns the number of units, of a specific unit type determined by the Unit parameter, owned by the chosen player. The Count Type will determine what state the units must be in to be considered for this function.
Enables or disables all tech restrictions for the specified player. When tech restrictions are enabled, then all ability commands that are flagged as Restricted or Suppressed will not show up on unit command cards in game. Use "Allow/Disallow Ability For Player", "Allow/Disallow Behavior For Player", "Allow/Disallow Unit For Player", and "Allow/Disallow Upgrade For Player" to enable Restricted or Suppressed commands. If a command is Restricted, then the ability, behavior, unit, or upgrade that is tied to it must be directly allowed. If a command is Suppressed, however, then it may be enabled when something else is allowed. For example, if the train Banshee command is Restricted, and the build Factory and build Starport commands are Suppressed, allowing the Banshee will also allow the Factory and Starport, because you cannot train a Banshee without first constructing those buildings.
Allows or disallows an ability to be used by the specified player. This is only useful if tech restrictions have been enabled using "Enable/Disable Tech Tree Restrictions". If the ability has a tech requirement, the requirement must still be met for the player to use the ability.
Allows or disallows a behavior to be used by the specified player. This is only useful if tech restrictions have been enabled using "Enable/Disable Tech Tree Restrictions". If the behavior has a tech requirement, the requirement must still be met for the player to use the behavior.
Allows or disallows a unit to be used by the specified player. This is only useful if tech restrictions have been enabled using "Enable/Disable Tech Tree Restrictions". If the unit has a tech requirement, the requirement must still be met for the player to use the unit.
Allows or disallows an upgrade to be used by the specified player. This is only useful if tech restrictions have been enabled using "Enable/Disable Tech Tree Restrictions". If the upgrade has a tech requirement, the requirement must still be met for the player to use the upgrade.