--- a/LuaAPI.wiki Wed Dec 03 02:45:10 2014 +0000
+++ b/LuaAPI.wiki Wed Dec 03 02:52:36 2014 +0000
@@ -758,6 +758,12 @@
<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>