Code:
Code: Select all
local _, _, _, _, side, allyTeam=Spring.GetTeamInfo(attackerID)
Moderator: Moderators
Code: Select all
local _, _, _, _, side, allyTeam=Spring.GetTeamInfo(attackerID)
are you sure it is a teamID and not a unitID?attackerID is an existing teamID, so already checked.
Ok I fixed that. I used attackerID instead of attackerTeamknorke wrote:are you sure it is a teamID and not a unitID?attackerID is an existing teamID, so already checked.