LuaAPI.wiki
changeset 893 e8664c10f69b
parent 892 05bb5a116783
child 894 aa3027b760bb
equal deleted inserted replaced
892:05bb5a116783 893:e8664c10f69b
  1177 
  1177 
  1178 
  1178 
  1179 == Stats functions ==
  1179 == Stats functions ==
  1180 === <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) ===
  1180 === <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) ===
  1181 
  1181 
  1182 This function exposes the uIO SendStat to the Lua scripts. Use it to produce custom stat pages.
  1182 This function allows to change the details of the stats screen seen after the end of a game.
  1183 
  1183 
  1184 `TStatInfoType` is the piece of information you want to manipulate. The result of this functions varies greatly for different `TStatInfoType`s. The parameter `statMessage` is mandatory and is a string used for the statistics, its meaning depends on the `TStatInfoType`. The parameter `teamName` contains the name of a team which is relevant to the chosen stat. This parameter is not always required, this also depends on `TStatInfoType`.
  1184 `TStatInfoType` is the piece of information you want to manipulate. The result of this functions varies greatly for different `TStatInfoType`s. The parameter `statMessage` is mandatory and is a string used for the statistics, its meaning depends on the `TStatInfoType`. The parameter `teamName` contains the name of a team which is relevant to the chosen stat. This parameter is not always required, this also depends on `TStatInfoType`.
  1185 
  1185 
  1186 This tables explains the different behaviours of this function for different values of `TStatInfoType`:
  1186 This tables explains the different behaviours of this function for different values of `TStatInfoType`:
  1187 
  1187