--- a/LuaEvents.wiki Wed May 15 02:59:21 2019 +0100
+++ b/LuaEvents.wiki Thu May 16 18:50:50 2019 +0100
@@ -131,17 +131,23 @@
=== <tt>onAttackUp()</tt> ===
This function is called when the current player releases the attack key.
+=== <tt>onLeftUp()</tt> ===
+This function is called when the current player releases the left key.
+
+=== <tt>onRightUp()</tt> ===
+This function is called when the current player releases the right key.
+
=== <tt>onDownUp()</tt> ===
This function is called when the current player releases the down key.
-
-=== <tt>onLeftUp()</tt> ===
-This function is called when the current player releases the left key.
+
+=== <tt>onUpUp()</tt> ===
+This function is called when you release the up key.
=== <tt>onPreciseUp()</tt> ===
This function is called when the current player releases the precise key.
-=== <tt>onRightUp()</tt> ===
-This function is called when the current player releases the right key.
+=== <tt>onSwitch()</tt> ===
+This function is called when the current player presses the switch key.
=== <tt>onSetWeapon(msgParam)</tt> ===
It is get called when a weapon is selected or switched.
@@ -153,9 +159,6 @@
`msgParam` tells the slot number minus 1 (i.e. `0` is for slot number 1, `1` is for slot number 2, etc.).
-=== <tt>onSwitch()</tt> ===
-This function is called when a hog is switched to another.
-
=== <tt>onTaunt(msgParam)</tt> ===
This function is called when the player uses an animated emote for example by using the chat commands `/wave`, `/juggle`, etc.
@@ -175,9 +178,6 @@
`msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key).
-=== <tt>onUpUp()</tt> ===
-This function is called when you release the up key.
-
=== <tt>onScreenResize()</tt> ===
This function is called when you resize the screen. Useful place to put a redraw function for any `vgtHealthTags` you're using.