LuaAPI.wiki
changeset 398 1f9f7fb00be3
parent 394 b2742eb19396
child 400 0b7f8aed3c5e
equal deleted inserted replaced
397:26d6c6c90181 398:1f9f7fb00be3
   563 <blockquote>Makes the gameclient follow the specifiec gear.
   563 <blockquote>Makes the gameclient follow the specifiec gear.
   564 </blockquote>
   564 </blockquote>
   565 === <tt>!SetHogName(gearUid, name)</tt> ===
   565 === <tt>!SetHogName(gearUid, name)</tt> ===
   566 
   566 
   567 <blockquote>Sets the name of the specified hedgehog gear
   567 <blockquote>Sets the name of the specified hedgehog gear
       
   568 </blockquote>
       
   569 === <tt>!SetHogTeamName(gearUid, name)</tt> ===
       
   570 
       
   571 <blockquote>Sets the team name of the specified hedgehog gear
       
   572 </blockquote>
       
   573 === <tt>!SetWeapon(ammoType)</tt> ===
       
   574 
       
   575 <blockquote>Sets the selected weapon of CurrentHedgehog to one of the [AmmoTypes Ammo Type].
       
   576 
       
   577 <b>Example:</b>
       
   578 
       
   579 <code lang="lua">
       
   580   AddAmmo(CurrentHedgehog, amBazooka, 1) -- give the CurrentHedgehog a bazooka
       
   581   SetWeapon(amBazooka) -- select the Bazooka.</code>
   568 </blockquote>
   582 </blockquote>
   569 === <tt>!SetHogHat(gearUid, hat)</tt> ===
   583 === <tt>!SetHogHat(gearUid, hat)</tt> ===
   570 
   584 
   571 <blockquote>Sets the hat of the specified hedgehog gear
   585 <blockquote>Sets the hat of the specified hedgehog gear
   572 </blockquote>
   586 </blockquote>