1297 * If one would like to produce a custom graph see also `SendHealthStatsOff()`. |
1297 * If one would like to produce a custom graph see also `SendHealthStatsOff()`. |
1298 |
1298 |
1299 === <tt>!SendHealthStatsOff()</tt> (0.9.20) === |
1299 === <tt>!SendHealthStatsOff()</tt> (0.9.20) === |
1300 Prevents the engine of sending health stats to the frontend. |
1300 Prevents the engine of sending health stats to the frontend. |
1301 |
1301 |
1302 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()`. |
1302 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. |
|
1303 |
|
1304 === <tt>!SendAchievementsStatsOff()</tt> (0.9.23) === |
|
1305 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()`. |
|
1306 |
|
1307 === <tt>!SendRankingStatsOff()</tt> (0.9.23) === |
|
1308 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()`. |
|
1309 |
|
1310 === <tt>!SendGameResultOff()</tt> (0.9.23) === |
|
1311 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()`. |
1303 |
1312 |
1304 == Math Functions == |
1313 == Math Functions == |
1305 |
1314 |
1306 === <tt>div(dividend, divisor)</tt> === |
1315 === <tt>div(dividend, divisor)</tt> === |
1307 Performs an integer division and returns the result. |
1316 Performs an integer division and returns the result. |