TargetTeam Enum
The TargetTeam enum defines the possible teams that can be targeted by abilities or effects in Dota 2.
Enum Values
| Name | Value | Description |
|---|---|---|
DOTA_UNIT_TARGET_TEAM_NONE | 0 | Targets no team. |
DOTA_UNIT_TARGET_TEAM_FRIENDLY | 1 | Targets friendly units. |
DOTA_UNIT_TARGET_TEAM_ENEMY | 2 | Targets enemy units. |
DOTA_UNIT_TARGET_TEAM_CUSTOM | 3 | Targets a custom-defined group of units. |
DOTA_UNIT_TARGET_TEAM_BOTH | 4 | Targets both friendly and enemy units. |