LuaAPI.wiki
changeset 398 1f9f7fb00be3
parent 394 b2742eb19396
child 400 0b7f8aed3c5e
--- a/LuaAPI.wiki	Tue Oct 28 22:09:37 2014 +0000
+++ b/LuaAPI.wiki	Tue Dec 02 03:34:56 2014 +0000
@@ -566,6 +566,20 @@
 
 <blockquote>Sets the name of the specified hedgehog gear
 </blockquote>
+=== <tt>!SetHogTeamName(gearUid, name)</tt> ===
+
+<blockquote>Sets the team name of the specified hedgehog gear
+</blockquote>
+=== <tt>!SetWeapon(ammoType)</tt> ===
+
+<blockquote>Sets the selected weapon of CurrentHedgehog to one of the [AmmoTypes Ammo Type].
+
+<b>Example:</b>
+
+<code lang="lua">
+  AddAmmo(CurrentHedgehog, amBazooka, 1) -- give the CurrentHedgehog a bazooka
+  SetWeapon(amBazooka) -- select the Bazooka.</code>
+</blockquote>
 === <tt>!SetHogHat(gearUid, hat)</tt> ===
 
 <blockquote>Sets the hat of the specified hedgehog gear