# HG changeset patch # User RedGrinner@gmail.com # Date 1316961161 0 # Node ID 547ac6a1d14ef547b9878142473c6bc3b450aeb7 # Parent c080c7eb96569d2d136c25e1589be3c48b2eaf68 Edited wiki page LuaAPI through web user interface. diff -r c080c7eb9656 -r 547ac6a1d14e 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 @@ * !HealthDecrease = 5 - amount of health decreased on sudden death * Map = "Bamboo" - the map being played * Theme = "Bamboo" - the theme to be used + * Ready= 5000 - the ready timer at the start of the round + * MapGen + * TemplateFilter * Goals = "Jumping is disabled" - 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 @@
This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here.
+=== onScreenResize() === + +
This function is called when you resize the screen. Useful place to put a redraw function for any vgtHealthTags you're using. +
+ === onAttack() ===
This function is called when your Hedgehog attacks.