LuaAPI.wiki
changeset 1537 9e6138eb93da
parent 1536 c211178df020
child 1538 1fa7f4048719
equal deleted inserted replaced
1536:c211178df020 1537:9e6138eb93da
  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` || Report a team rating (default: team health) of a single team. Higher = better. Format: “`<team name>:<team rating>:`”. This currently does not have an effect. || No ||
  1503 || `siTeamStats` || This does not have an effect. || 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>
  1534 -- team with most damage inflicted to self
  1534 -- team with most damage inflicted to self
  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 
       
  1540 -- report team rating of Megateam to be 250 and that of Superteam to be 100.
       
  1541 SendStat(siTeamStats, "Megateam:250:")
       
  1542 SendStat(siTeamStats, "Superteam:100:")
       
  1543 
  1539 
  1544 -- best shot award
  1540 -- best shot award
  1545 SendStat(siMaxStepDamage, "30 hedgehogName (teamName)")
  1541 SendStat(siMaxStepDamage, "30 hedgehogName (teamName)")
  1546 
  1542 
  1547 -- team with most kills of own hedgehogs
  1543 -- team with most kills of own hedgehogs