Add onGearWaterSkip
authoralmikes@aol.com
Mon, 15 Dec 2014 22:24:03 +0000
changeset 502 7bd6701bb077
parent 501 04b4b463bf33
child 503 87a36ae53518
Add onGearWaterSkip
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Dec 15 15:32:05 2014 +0000
+++ b/LuaAPI.wiki	Mon Dec 15 22:24:03 2014 +0000
@@ -211,7 +211,10 @@
 These indexes can be used to look up details of the clan/team/hedgehog prior to gear creation.  Routines to do these lookups will be created as needed.
 If you add this hook, the expectation is that you will call SetAmmo appropriately.  Any values from onAmmoStoreInit are ignored.
 
-=== <tt>onScreenResize() (0.9.16) </tt> ===
+=== <tt>onGearWaterSkip(gear)</tt> (0.9.21) ===
+This function is called when the gear `gear` skips over water.
+
+=== <tt>onScreenResize()</tt> (0.9.16) ===
 
 <blockquote>This function is called when you resize the screen. Useful place to put a redraw function for any vgtHealthTags you're using.
 </blockquote>