Same Team (Bi-Entity Condition Type)

Checks whether the actor and the target are on the same scoreboard team.

Checks whether the actor and the target are on the same scoreboard team.

Type ID: apoli:same_team

Type aliases: apoli:allied

Fields

FieldTypeDefaultDescription
allow_teamlessBooleanfalseIf true, two entities that are both on no team count as allied.

Example

Cancel friendly fire between teammates:

{
  "type": "apoli:prevent_entity_damage",
  "bientity_condition": { "type": "apoli:same_team" }
}