# HG changeset patch # User almikes@aol.com # Date 1418682243 0 # Node ID 7bd6701bb0779cdfbce51571ad9d30589537228a # Parent 04b4b463bf3302f6dbd430dc50793f8a93b8e4f6 Add onGearWaterSkip diff -r 04b4b463bf33 -r 7bd6701bb077 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. -=== onScreenResize() (0.9.16) === +=== onGearWaterSkip(gear) (0.9.21) === +This function is called when the gear `gear` skips over water. + +=== onScreenResize() (0.9.16) ===
This function is called when you resize the screen. Useful place to put a redraw function for any vgtHealthTags you're using.