Skip to content

TftIsEnemyMaterialBoolDriver

14.14

Inheritance 4 ancestors · 50 siblings

Class Documentation

Edit documentation

A bool driver that tells whether a Teamfight Tactics board unit is an enemy from the view of the local player. On a board, the team of a unit does not say whose side it is on, because the board can belong to the local player or to another player whom the local player visits. The driver accounts for that:

The local player watches Returns true for
their own board units whose team is not 100
another player's board units of team 100

The driver returns false when the source is not a board unit, and in game modes other than the Teamfight Tactics modes it supports.