Edited wiki page LuaAPI through web user interface.
authorRedGrinner@gmail.com
Sun, 25 Sep 2011 14:32:41 +0000
changeset 145 547ac6a1d14e
parent 144 c080c7eb9656
child 146 a644314c7703
Edited wiki page LuaAPI through web user interface.
LuaAPI.wiki
--- a/LuaAPI.wiki	Sun Sep 25 14:09:40 2011 +0000
+++ b/LuaAPI.wiki	Sun Sep 25 14:32:41 2011 +0000
@@ -48,6 +48,9 @@
  * <tt>!HealthDecrease = 5</tt> - amount of health decreased on sudden death
  * <tt>Map = "Bamboo"</tt> - the map being played
  * <tt>Theme = "Bamboo"</tt> - the theme to be used
+ * <tt>Ready= 5000</tt> - the ready timer at the start of the round
+ * <tt>MapGen</tt>
+ * <tt>TemplateFilter</tt>
  * <tt>Goals = "Jumping is disabled"</tt> - if you want to add info to the game mode dialog, use "|" to separate lines
 
 If you want to add teams or hogs manually you have to do it here.
@@ -99,6 +102,11 @@
 <blockquote>This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here.
 </blockquote>
 
+=== <tt>onScreenResize()</tt> ===
+
+<blockquote>This function is called when you resize the screen. Useful place to put a redraw function for any vgtHealthTags you're using.
+</blockquote>
+
 === <tt>onAttack()</tt> ===
 
 <blockquote>This function is called when your Hedgehog attacks.