LuaAPI.wiki
changeset 1038 30a9877bf8e8
parent 1033 ea42a17739d0
child 1039 e312e2616b75
equal deleted inserted replaced
1037:d680bcbdfc44 1038:30a9877bf8e8
  1259 || `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 ||
  1259 || `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 ||
  1260 || `siClanHealth` || Value of a data point (converted to a string). This sets a single data point on the graph for the specified team. Subsequent calls will draw the next point along the horizontal axis; the frontend will then simply connect the dots in the final graph. The graphs are treated independently for each other. Currently the graph only can display positive values. You also should have called `SendHealthStatsOff` if you use this to prevent the default health graphs to be drawn. || Yes ||
  1260 || `siClanHealth` || Value of a data point (converted to a string). This sets a single data point on the graph for the specified team. Subsequent calls will draw the next point along the horizontal axis; the frontend will then simply connect the dots in the final graph. The graphs are treated independently for each other. Currently the graph only can display positive values. You also should have called `SendHealthStatsOff` if you use this to prevent the default health graphs to be drawn. || Yes ||
  1261 || `siMaxStepKills` || Most hedgehogs killed in a round. `statText` must be in format “`<kills> <name of killer hedgehog> (<team name of killer>)`”. || No ||
  1261 || `siMaxStepKills` || Most hedgehogs killed in a round. `statText` must be in format “`<kills> <name of killer hedgehog> (<team name of killer>)`”. || No ||
  1262 || `siMaxTeamDamage` || Hedgehog with most damage inflicted to his own team. `statText` must be in the format “`<damage> <hedgehog name>`”. || No ||
  1262 || `siMaxTeamDamage` || Hedgehog with most damage inflicted to his own team. `statText` must be in the format “`<damage> <hedgehog name>`”. || No ||
  1263 || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No ||
  1263 || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No ||
  1264 || `siTeamStats` || Increases the wins of local teams in case the given number is greater than 0. || No ||
  1264 || `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 ||
  1265 || `siMaxStepDamage` || Best shot award (most damage in one turn). `statText` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No ||
  1265 || `siMaxStepDamage` || Best shot award (most damage in one turn). `statText` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No ||
  1266 || `siMaxTurnSkips` || Team with most skips. `statText` must be of format “`<number> <teamName>`”. || No ||
  1266 || `siMaxTurnSkips` || Team with most skips. `statText` must be of format “`<number> <teamName>`”. || No ||
  1267 
  1267 
  1268 
  1268 
  1269 <b>Examples:</b>
  1269 <b>Examples:</b>
  1287 SendStat(siMaxStepKills, "1 hedgeHogName (teamName)")
  1287 SendStat(siMaxStepKills, "1 hedgeHogName (teamName)")
  1288 -- hog with most damage inflicted to his own team
  1288 -- hog with most damage inflicted to his own team
  1289 SendStat(siMaxTeamDamage, "100 hedgeHogName")
  1289 SendStat(siMaxTeamDamage, "100 hedgeHogName")
  1290 -- total number of killed hedgehogs
  1290 -- total number of killed hedgehogs
  1291 SendStat(siKilledHHs, "1")
  1291 SendStat(siKilledHHs, "1")
  1292 -- increases the wins of local teams in case the given number is greater than 0
  1292 -- ranking: sets rank of Megateam to 1 and rank of Superteam to 2
  1293 SendStat(siTeamStats, "teamName:0:")
  1293 SendStat(siTeamStats, "Megateam:1:Superteam:2:")
  1294 -- best shot award
  1294 -- best shot award
  1295 SendStat(siMaxStepDamage, "30 hedgeHogName (teamName)")
  1295 SendStat(siMaxStepDamage, "30 hedgeHogName (teamName)")
  1296 -- team with most kills of own hedgehogs
  1296 -- team with most kills of own hedgehogs
  1297 SendStat(siMaxStepDamage, "2 teamName")
  1297 SendStat(siMaxStepDamage, "2 teamName")
  1298 -- team with most skips
  1298 -- team with most skips