# HG changeset patch
# User Wuzzy
# Date 1519471862 0
# Node ID 0f08b96717153a22df60325327b491e2cc239919
# Parent 355898ec2631d261f98a226da78f9809274479aa
LuaAPI: fix header of SetWeapon and SetNextWeapon
diff -r 355898ec2631 -r 0f08b9671715 LuaAPI.wiki
--- 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 @@
==== !SwitchHog(gearUid) ====
This function will switch to the hedgehog with the specifiedd `gearUid`.
-=== !SetWeapon(ammoType) ===
+==== !SetWeapon(ammoType) ====
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.
-=== !SetNextWeapon() ===
+==== !SetNextWeapon() ====
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.
==== !SetInputMask(mask) ====