LuaAPI.wiki
changeset 1645 35f6bcebe525
parent 1644 009208830d85
child 1647 4185517621d5
--- a/LuaAPI.wiki	Tue Dec 04 00:05:30 2018 +0000
+++ b/LuaAPI.wiki	Tue Dec 04 00:09:38 2018 +0000
@@ -1551,7 +1551,7 @@
 || `siTeamStats` || This does not have an effect. || No ||
 || `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statMessage` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No ||
 || `siMaxTurnSkips` || Team with most skips. `statMessage` must be of format “`<number> <teamName>`”. || No ||
-
+|| `siTeamRank` || Overwrite rank of team. `statMessage` is the rank of your choice. Must be sent before `siPlayerKills` of the team in question. || Mo ||
 
 <b>Examples:</b>
 
@@ -1599,6 +1599,10 @@
 -- team with most skips
 SendStat(siMaxTurnSkips, "3 teamName")
 
+-- set 15 kills for team "MyTeam" and overwrite its rank to 3
+SendStat(siPlayerKills, "15", "MyTeam")
+SendStat(siTeamRank, "3")
+
 </code>
 
 <b>Important:</b>