LuaAPI.wiki
changeset 1645 35f6bcebe525
parent 1644 009208830d85
child 1647 4185517621d5
equal deleted inserted replaced
1644:009208830d85 1645:35f6bcebe525
  1549 || `siMaxTeamDamage` || Team with most damage inflicted to self. `statMessage` must be in the format “`<damage> <team name>`”. || No ||
  1549 || `siMaxTeamDamage` || Team with most damage inflicted to self. `statMessage` must be in the format “`<damage> <team name>`”. || No ||
  1550 || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No ||
  1550 || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No ||
  1551 || `siTeamStats` || This does not have an effect. || No ||
  1551 || `siTeamStats` || This does not have an effect. || No ||
  1552 || `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statMessage` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No ||
  1552 || `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statMessage` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No ||
  1553 || `siMaxTurnSkips` || Team with most skips. `statMessage` must be of format “`<number> <teamName>`”. || No ||
  1553 || `siMaxTurnSkips` || Team with most skips. `statMessage` must be of format “`<number> <teamName>`”. || No ||
  1554 
  1554 || `siTeamRank` || Overwrite rank of team. `statMessage` is the rank of your choice. Must be sent before `siPlayerKills` of the team in question. || Mo ||
  1555 
  1555 
  1556 <b>Examples:</b>
  1556 <b>Examples:</b>
  1557 
  1557 
  1558 <code language="lua">
  1558 <code language="lua">
  1559 -- will automatically change the health icon to a star
  1559 -- will automatically change the health icon to a star
  1596 -- team with most kills of own hedgehogs
  1596 -- team with most kills of own hedgehogs
  1597 SendStat(siMaxStepDamage, "2 teamName")
  1597 SendStat(siMaxStepDamage, "2 teamName")
  1598 
  1598 
  1599 -- team with most skips
  1599 -- team with most skips
  1600 SendStat(siMaxTurnSkips, "3 teamName")
  1600 SendStat(siMaxTurnSkips, "3 teamName")
       
  1601 
       
  1602 -- set 15 kills for team "MyTeam" and overwrite its rank to 3
       
  1603 SendStat(siPlayerKills, "15", "MyTeam")
       
  1604 SendStat(siTeamRank, "3")
  1601 
  1605 
  1602 </code>
  1606 </code>
  1603 
  1607 
  1604 <b>Important:</b>
  1608 <b>Important:</b>
  1605 
  1609