LuaAPI.wiki
changeset 502 7bd6701bb077
parent 491 9079444264ae
child 503 87a36ae53518
equal deleted inserted replaced
501:04b4b463bf33 502:7bd6701bb077
   209 If neither is set, the parameters passed are the team index and -1, and the function will be called once for each team.
   209 If neither is set, the parameters passed are the team index and -1, and the function will be called once for each team.
   210 
   210 
   211 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.
   211 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.
   212 If you add this hook, the expectation is that you will call SetAmmo appropriately.  Any values from onAmmoStoreInit are ignored.
   212 If you add this hook, the expectation is that you will call SetAmmo appropriately.  Any values from onAmmoStoreInit are ignored.
   213 
   213 
   214 === <tt>onScreenResize() (0.9.16) </tt> ===
   214 === <tt>onGearWaterSkip(gear)</tt> (0.9.21) ===
       
   215 This function is called when the gear `gear` skips over water.
       
   216 
       
   217 === <tt>onScreenResize()</tt> (0.9.16) ===
   215 
   218 
   216 <blockquote>This function is called when you resize the screen. Useful place to put a redraw function for any vgtHealthTags you're using.
   219 <blockquote>This function is called when you resize the screen. Useful place to put a redraw function for any vgtHealthTags you're using.
   217 </blockquote>
   220 </blockquote>
   218 
   221 
   219 === <tt>onAttack()</tt> ===
   222 === <tt>onAttack()</tt> ===