LuaStats.wiki
changeset 1760 a9e06d2265f0
parent 1749 91756d20ce3e
child 1764 33ed53a6f370
equal deleted inserted replaced
1759:6725a497c482 1760:a9e06d2265f0
     1 #summary List of stats functions in the Lua API
     1 #summary List of stats functions in the Lua API
     2 
     2 
     3 = Lua API: Stats functions =
     3 = Lua API: Stats functions =
     4 This page contains a list of all functions in the [LuaAPI Lua API] related to game stats. The game stats are used to display the end result when a game ends, this includes the game result title, team rankings, health graph and other comments.
     4 This page contains a list of all functions in the [LuaAPI Lua API] related to game stats. The game stats are used to display the end result when a game ends, this includes the game result title, team rankings, health graph and other comments.
       
     5 
       
     6 <wiki:toc max_depth="2" />
     5 
     7 
     6 == <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> ==
     8 == <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> ==
     7 
     9 
     8 This function allows to change the details of the stats screen seen after the end of a game.
    10 This function allows to change the details of the stats screen seen after the end of a game.
     9 
    11 
   106  * `AIKills`: Number of AI kills
   108  * `AIKills`: Number of AI kills
   107  * `TeamKills`: Number of hedgehogs killes in own team (excluding current hedghog)
   109  * `TeamKills`: Number of hedgehogs killes in own team (excluding current hedghog)
   108  * `TurnSkips`: Number of skipped turns
   110  * `TurnSkips`: Number of skipped turns
   109  * `TeamDamage`: Damage inflicted to own team (excluding current hedgehog)
   111  * `TeamDamage`: Damage inflicted to own team (excluding current hedgehog)
   110 
   112 
   111