Function
Player
Player_HasBuilding
Returns true if this player owns any buildings listed in the table.
On this page
Player_HasBuilding(player, entitytypes/unit_types)Description
This only looks at completed buildings - use Player_HasBuildingUnderConstruction to see if the player is building something
Parameters
playerPlayerIDrequiredentitytypes/unit_typesBlueprintTable/StringTablerequired
Returns
BooleanSource
Declared in the game's script sources at:
scar/player.scar