LuaAPI.wiki
changeset 406 41bd558039c0
parent 405 4e1c166740b0
child 407 36537eaf680c
equal deleted inserted replaced
405:4e1c166740b0 406:41bd558039c0
   755 
   755 
   756 ==== <tt>!GetCurAmmoType()</tt> (0.9.16) ====
   756 ==== <tt>!GetCurAmmoType()</tt> (0.9.16) ====
   757 
   757 
   758 <blockquote>Returns the currently selected [AmmoTypes Ammo Type].
   758 <blockquote>Returns the currently selected [AmmoTypes Ammo Type].
   759 </blockquote>
   759 </blockquote>
       
   760 
       
   761 ==== <tt>SetWeapon(ammoType)</tt> (0.9.21) ====
       
   762 This function sets the weapon of the current hedgehog to the specified [AmmoTypes Ammo Type].
       
   763 
       
   764 ==== <tt>SetNextWeapon()</tt> (0.9.21) ====
       
   765 This function makes the current hedgehog switch to the next weapon in the weapon list. It can be used for example in trainings to pre-select a weapon.
   760 
   766 
   761 ==== <tt>!SwitchHog(gearUid)</tt> (0.9.16) ====
   767 ==== <tt>!SwitchHog(gearUid)</tt> (0.9.16) ====
   762 
   768 
   763 <blockquote>This function will switch to the hedgehog with the specified Uid.</blockquote>
   769 <blockquote>This function will switch to the hedgehog with the specified Uid.</blockquote>
   764 
   770