# HG changeset patch # User RedGrinner@gmail.com # Date 1316961670 0 # Node ID f343b50d5619f55a63c12bc3ce9de23c4c3200a0 # Parent 379d7931ffc7929056aa30c08f9ba38cbf6c7a62 Edited wiki page LuaAPI through web user interface. diff -r 379d7931ffc7 -r f343b50d5619 LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 25 14:38:05 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 14:41:10 2011 +0000 @@ -102,7 +102,7 @@ <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> === +=== <tt>onScreenResize() (0.9.16) </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> @@ -215,7 +215,11 @@ </blockquote> === <tt>!GetGearPosition(gearUid)</tt> === -<blockquote>returns tuple of x,y coordinates for the specified gear +<blockquote>returns x,y coordinates for the specified gear +</blockquote> +=== <tt>!GetGearRadius(gearUid)</tt> (0.9.15) === + +<blockquote>Returns radius for the specified gear </blockquote> === <tt>!GetGearVelocity(gearUid)</tt> (0.9.15) ===