Unknown

From DarkAI

AI GET ENTITY TEAM

This command will return an integer representing the team the entity is assigned to.

Syntax
return integer = AI Get Entity Team ( Entity Number )

Parameters
Entity Number, The id of the entity for which you want to retrieve the container.

Return
0 for the neutral team, 1 for the friendly team or 2 for the enemy team.