Get a team's alliance ID?
Posted: 07 Jun 2011, 20:42
I want to get the the allyTeamID (the alliance ID) from a given team. So far I tryied to use the Spring.GetTeamInfo(teamID) but it returns always nil.
Code:
attackerID is an existing teamID, so already checked.
Code:
Code: Select all
local _, _, _, _, side, allyTeam=Spring.GetTeamInfo(attackerID)