LuaAPI: Better description of SendStat
authorWuzzy
Thu, 09 Jun 2016 13:56:22 +0100
changeset 893 e8664c10f69b
parent 892 05bb5a116783
child 894 aa3027b760bb
LuaAPI: Better description of SendStat
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Jun 09 13:53:17 2016 +0100
+++ b/LuaAPI.wiki	Thu Jun 09 13:56:22 2016 +0100
@@ -1179,7 +1179,7 @@
 == Stats functions ==
 === <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) ===
 
-This function exposes the uIO SendStat to the Lua scripts. Use it to produce custom stat pages.
+This function allows to change the details of the stats screen seen after the end of a game.
 
 `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`.