Post 02 Oct 2015, 07:20 by grayter
u mean, GetAllTeams() returns team_count: integer? or returns array of teams of players? Team[team-red][player0]. same question for PlayerGetTeam(playerId)
GetAllTeams returns array of id of all teams
PlayerGetTeam returns id of team for specified player
Hey grayter,
as far as i know there is no such dynamic script command. I guess you can do it by checking for Player Alliances. Actions.PlayerAllianceCheck would be the command you are looking for.
Yeah I know it but then I will not be able to determine id of team but this is important to me.