1498 || `siPlayerKills` || The number of kills for the specified team (converted to a string), as shown in the ranking list. Unless the word “kills” has been replaced by `siPointType`, then that word is used instead. Only integers (converted to string) are possible. || Yes || |
1498 || `siPlayerKills` || The number of kills for the specified team (converted to a string), as shown in the ranking list. Unless the word “kills” has been replaced by `siPointType`, then that word is used instead. Only integers (converted to string) are possible. || Yes || |
1499 || `siClanHealth` || Value of a data point. This sets a single data point on the graph for the specified team. All teams will be converted to clans prior to drawing, there can only be one chart per clan. Subsequent calls will draw the next point along the horizontal axis; the frontend will then simply connect the dots in the final chart. Only whole numbers are supported. There must be at least 2 data points for any given clan, otherwise there won't be much to look at. ;-) You also should have called `SendHealthStatsOff` if to prevent the default health graphs to be drawn. || Yes || |
1499 || `siClanHealth` || Value of a data point. This sets a single data point on the graph for the specified team. All teams will be converted to clans prior to drawing, there can only be one chart per clan. Subsequent calls will draw the next point along the horizontal axis; the frontend will then simply connect the dots in the final chart. Only whole numbers are supported. There must be at least 2 data points for any given clan, otherwise there won't be much to look at. ;-) You also should have called `SendHealthStatsOff` if to prevent the default health graphs to be drawn. || Yes || |
1500 || `siMaxStepKills` || Most hedgehogs killed in a round. `statMessage` must be in format “`<kills> <name of killer hedgehog> (<team name of killer>)`”. || No || |
1500 || `siMaxStepKills` || Most hedgehogs killed in a round. `statMessage` must be in format “`<kills> <name of killer hedgehog> (<team name of killer>)`”. || No || |
1501 || `siMaxTeamDamage` || Team with most damage inflicted to self. `statMessage` must be in the format “`<damage> <team name>`”. || No || |
1501 || `siMaxTeamDamage` || Team with most damage inflicted to self. `statMessage` must be in the format “`<damage> <team name>`”. || No || |
1502 || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No || |
1502 || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No || |
1503 || `siTeamStats` || Sets the ranking of each team. Use number 0 for default ranking. Format: “`<team name 1>:<rank 1>:<team name 2>:<rank 2>:`” (and so on) || No || |
1503 || `siTeamStats` || Report a team rating (default: team health) of a single team. Higher = better. Format: “`<team name>:<team rating>:`”. || No || |
1504 || `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statMessage` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No || |
1504 || `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statMessage` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No || |
1505 || `siMaxTurnSkips` || Team with most skips. `statMessage` must be of format “`<number> <teamName>`”. || No || |
1505 || `siMaxTurnSkips` || Team with most skips. `statMessage` must be of format “`<number> <teamName>`”. || No || |
1506 |
1506 |
1507 |
1507 |
1508 <b>Examples:</b> |
1508 <b>Examples:</b> |
1535 SendStat(siMaxTeamDamage, "100 teamName") |
1535 SendStat(siMaxTeamDamage, "100 teamName") |
1536 |
1536 |
1537 -- total number of killed hedgehogs |
1537 -- total number of killed hedgehogs |
1538 SendStat(siKilledHHs, "1") |
1538 SendStat(siKilledHHs, "1") |
1539 |
1539 |
1540 -- ranking: sets rank of Megateam to 1 and rank of Superteam to 2 |
1540 -- report team rating of Megateam to be 250 and that of Superteam to be 100. |
1541 SendStat(siTeamStats, "Megateam:1:Superteam:2:") |
1541 SendStat(siTeamStats, "Megateam:250:") |
|
1542 SendStat(siTeamStats, "Superteam:100:") |
1542 |
1543 |
1543 -- best shot award |
1544 -- best shot award |
1544 SendStat(siMaxStepDamage, "30 hedgehogName (teamName)") |
1545 SendStat(siMaxStepDamage, "30 hedgehogName (teamName)") |
1545 |
1546 |
1546 -- team with most kills of own hedgehogs |
1547 -- team with most kills of own hedgehogs |
1559 |
1560 |
1560 === <tt>!SendHealthStatsOff()</tt> === |
1561 === <tt>!SendHealthStatsOff()</tt> === |
1561 Prevents the engine of sending health stats to the frontend. |
1562 Prevents the engine of sending health stats to the frontend. |
1562 |
1563 |
1563 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. |
1564 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. |
1564 |
1565 f |
1565 === <tt>!SendAchievementsStatsOff()</tt> (0.9.23) === |
1566 === <tt>!SendAchievementsStatsOff()</tt> (0.9.23) === |
1566 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()`. |
1567 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()`. |
1567 |
1568 |
1568 === <tt>!SendRankingStatsOff()</tt> (0.9.23) === |
1569 === <tt>!SendRankingStatsOff()</tt> (0.9.23) === |
1569 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()`. |
1570 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()`. |