ScarDoc

Start typing to search the SCAR reference.

Function
Team

Team_GetBuildingID

Returns the entityID of the first team owned building listed in the table.

On this page
Team_GetBuildingID(player, entitytypes, bool)

Description

Use ALL to return a table containing the first building listed for each player on the team This only looks at completed buildings

Parameters

  • playerPlayerIDrequired
  • entitytypesBlueprintTablerequired
  • boolAnyoptional

Returns

EntityID/Table

Source

Declared in the game's script sources at:

scar/team.scar