Move SetNextWeapon in text
authoralmikes@aol.com
Wed, 03 Dec 2014 03:06:46 +0000
changeset 408 e9b65daecbcf
parent 407 36537eaf680c
child 409 600e83a51609
Move SetNextWeapon in text
LuaAPI.wiki
--- 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>