Edited wiki page LuaAPI through web user interface.
--- 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.