LuaAPI: Add SendRankingStatsOff, SendAchievementsStatsOff, SendGameResultOff
authorWuzzy
Wed, 26 Apr 2017 15:14:28 +0100
changeset 996 9d49deef533c
parent 995 84089099197f
child 997 97eba4395dfd
LuaAPI: Add SendRankingStatsOff, SendAchievementsStatsOff, SendGameResultOff
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Apr 26 03:17:03 2017 +0100
+++ b/LuaAPI.wiki	Wed Apr 26 15:14:28 2017 +0100
@@ -1299,7 +1299,16 @@
 === <tt>!SendHealthStatsOff()</tt> (0.9.20) ===
 Prevents the engine of sending health stats to the frontend. 
 
-If any health stats haven’t been sent before this will cause the health graph to the stats page to be hidden. Use this function in the Lua scripts to produce custom graphs by calling it inside `onGameStart()` and using the `SendStat()`.
+If any health stats haven’t been sent before this will cause the health graph to the stats page to be hidden. Use this function in the Lua scripts to produce custom graphs by calling it inside `onGameStart()` and using the `SendStat()` function.
+
+=== <tt>!SendAchievementsStatsOff()</tt> (0.9.23) ===
+Prevents the engine of populating the snarky comments in the “Details” section (internally known as “achievements”) of the stats screen, such as “best shot award”, etc. So you can start with a clean list when the game ends normally. This function needs to be called inside `onGameStart()`.
+
+=== <tt>!SendRankingStatsOff()</tt> (0.9.23) ===
+Prevents the engine of populating the team rankings in the stats screen, so you can start with a clean list when the game ends normally. This function needs to be called inside `onGameStart()`.
+
+=== <tt>!SendGameResultOff()</tt> (0.9.23) ===
+Prevents the engine of setting the game result text at the top of the stats screen, e.g. “Team 1 wins!” when the game ends normally. This function needs to be called inside `onGameStart()`.
 
 == Math Functions ==