--- a/LuaAPI.wiki Sat Feb 24 11:30:33 2018 +0000
+++ b/LuaAPI.wiki Sat Feb 24 11:31:02 2018 +0000
@@ -1144,7 +1144,7 @@
==== <tt>!SwitchHog(gearUid)</tt> ====
This function will switch to the hedgehog with the specifiedd `gearUid`.
-=== <tt>!SetWeapon(ammoType)</tt> ===
+==== <tt>!SetWeapon(ammoType)</tt> ====
Sets the selected weapon of `CurrentHedgehog` to one of the [AmmoTypes Ammo Type].
Example:
@@ -1153,7 +1153,7 @@
AddAmmo(CurrentHedgehog, amBazooka, 1) -- give the CurrentHedgehog a bazooka
SetWeapon(amBazooka) -- select the Bazooka.</code>
-=== <tt>!SetNextWeapon()</tt> ===
+==== <tt>!SetNextWeapon()</tt> ====
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>!SetInputMask(mask)</tt> ====