Game GetTeamInfo

Returns team information about a specific entity
;Usage
hostile = Game.GetTeamInfo(teamId)
Parameter	Type 	Description
teamId 	entityId	ID of the team you want info about
;Return Values
Value 	Type 	Description
hostile	boolean	whether target is hostile
;Examples:
<nowiki>
local teams = Game.GetTeams();
for _, team in pairs(teams) do
 Game.GetTeamInfo(team);
end
</nowiki>
Category:Addon_API