TPG.GetEnemyTeam(teamId)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
The opposing playing team. TEAM_UNASSIGNED for anything else (spectators included; there is no "enemy" of a team that isn't playing).
Parameters
| Name | Type | Description |
|---|---|---|
teamId | number | TEAM_GREEN or TEAM_RED. |
Returns
| Type | Description |
|---|---|
number | TEAM_RED for TEAM_GREEN, TEAM_GREEN for TEAM_RED, and |
Examples
No examples available.
Used In
No usages found in the codebase.