1317 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()`. |
1317 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()`. |
1318 |
1318 |
1319 === <tt>!SendGameResultOff()</tt> (0.9.23) === |
1319 === <tt>!SendGameResultOff()</tt> (0.9.23) === |
1320 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()`. |
1320 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()`. |
1321 |
1321 |
|
1322 === <tt>!GetTeamStats(teamname)</tt> (0.9.23) === |
|
1323 Returns a table of internal stats of a team. This table has the following fields: |
|
1324 |
|
1325 * `Kills`: Number of kills |
|
1326 * `Suicides`: Number of suicides (kamikaze, piano strikes) |
|
1327 * `AIKills`: Number of AI kills |
|
1328 * `TeamKills`: Number of defeated teams |
|
1329 * `TurnSkips`: Number of skipped turns |
|
1330 * `TeamDamage` |
|
1331 |
1322 == Math Functions == |
1332 == Math Functions == |
1323 |
1333 |
1324 === <tt>div(dividend, divisor)</tt> === |
1334 === <tt>div(dividend, divisor)</tt> === |
1325 Performs an integer division and returns the result. |
1335 Performs an integer division and returns the result. |
1326 The result is an integer and has the value of the first parameter (an integer) divided by the second parameter (another integer), rounded towards zero. |
1336 The result is an integer and has the value of the first parameter (an integer) divided by the second parameter (another integer), rounded towards zero. |