# HG changeset patch # User RedGrinner@gmail.com # Date 1417491296 0 # Node ID 1f9f7fb00be35a5d23d5b881fbd5f5121bafabc3 # Parent 26d6c6c901811ae6d6107d177b2fde387e71db15 Added entries for SetHogTeamName, SetWeapon diff -r 26d6c6c90181 -r 1f9f7fb00be3 LuaAPI.wiki --- 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 @@
Sets the name of the specified hedgehog gear+=== !SetHogTeamName(gearUid, name) === + +
Sets the team name of the specified hedgehog gear ++=== !SetWeapon(ammoType) === + +
Sets the selected weapon of CurrentHedgehog to one of the [AmmoTypes Ammo Type].
+
+Example:
+
+
+ AddAmmo(CurrentHedgehog, amBazooka, 1) -- give the CurrentHedgehog a bazooka
+ SetWeapon(amBazooka) -- select the Bazooka.
+
=== !SetHogHat(gearUid, hat) ===
Sets the hat of the specified hedgehog gear