bf6-portal-mod-types
    Preparing search index...

    Function GetTeam

    • Returns the team object of the specified player.

      Parameters

      • player: Player

        The player to get the team of.

      Returns Team

      Team The team object.

    • Returns the team object of the provided team id number. Team 0 is neutral/none, while all other team values up to 32 are valid.

      Parameters

      • teamId: number

        The id of the team to get.

      Returns Team

      Team The team object.

    • Returns the team value of the specified player OR the corresponding team of the provided number.

      Parameters

      Returns Team

    • Returns the team value of the specified player OR the corresponding team of the provided number.

      Parameters

      • teamId: number

      Returns Team