team.script_stat[n]

Type: Number

This member allows you to access the values of script-defined Post-Game Carnage Report stats on a per-team basis. Stats can be read or modified. Their values persist between rounds, making them a useful way to persist state between rounds.

Scripted stats cannot hold values outside the range [-32,768, 32,767].

Example

for each team do
   current_team.script_stat[3] += 5
end

See also