player.script_stat[n]

Type: Number

This member allows you to access the values of script-defined Post-Game Carnage Report stats on a per-player 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 player do
   current_player.script_stat[3] += 5
end

See also