--- a/LuaAPI.wiki Wed Dec 03 03:03:58 2014 +0000
+++ b/LuaAPI.wiki Wed Dec 03 03:06:46 2014 +0000
@@ -637,6 +637,11 @@
AddAmmo(CurrentHedgehog, amBazooka, 1) -- give the CurrentHedgehog a bazooka
SetWeapon(amBazooka) -- select the Bazooka.</code>
</blockquote>
+
+==== <tt>!SetNextWeapon()</tt> (0.9.21) ====
+This function makes the current hedgehog switch to the next weapon in list of available weapons. It can be used for example in trainings to pre-select a weapon.
+
+
=== <tt>!SetHogHat(gearUid, hat)</tt> ===
<blockquote>Sets the hat of the specified hedgehog gear
@@ -758,12 +763,6 @@
<blockquote>Returns the currently selected [AmmoTypes Ammo Type].
</blockquote>
-==== <tt>SetWeapon(ammoType)</tt> (0.9.21) ====
-This function sets the weapon of the current hedgehog to the specified [AmmoTypes Ammo Type].
-
-==== <tt>SetNextWeapon()</tt> (0.9.21) ====
-This function makes the current hedgehog switch to the next weapon in the weapon list. It can be used for example in trainings to pre-select a weapon.
-
==== <tt>!SwitchHog(gearUid)</tt> (0.9.16) ====
<blockquote>This function will switch to the hedgehog with the specified Uid.</blockquote>