LuaEvents.wiki
changeset 2092 132b6ed4e724
parent 2087 24d84bcaa5d5
child 2114 cbb1fde40368
equal deleted inserted replaced
2091:428ad3d1d034 2092:132b6ed4e724
   187 This function is called when one of the timer keys is pressed.
   187 This function is called when one of the timer keys is pressed.
   188 
   188 
   189 `msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key).
   189 `msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key).
   190 
   190 
   191 === <tt>onScreenResize()</tt> ===
   191 === <tt>onScreenResize()</tt> ===
   192 This function is called when you resize the screen. Useful place to put a redraw function for any `vgtHealthTags` you're using.
   192 This function is called when you resize the screen. Useful place to put a redraw function for any `vgtHealthTag`s you're using.
   193 
   193 
   194 == Gears ==
   194 == Gears ==
   195 === <tt>onGearAdd(gearUid)</tt> ===
   195 === <tt>onGearAdd(gearUid)</tt> ===
   196 This function is called when a new gear is added. Useful in combination with `GetGearType(gearUid)`.
   196 This function is called when a new gear is added. Useful in combination with `GetGearType(gearUid)`.
   197 
   197