WeaponAltWeaponName( <weapon name> )


Module: Weapons

Summary:

Returns the name of the weapon this weapon has for its alternate mode. Returns "none" if there is no alt fire. Subsequent alternate weapons can be retrieved by calling the function again with the new weapon names until it returns the original weapon.



Example:

grenadeLauncherAttachment = WeaponAltWeaponName( "m16_gl_mp" )



Required Args:

  • 1 : <weapon name> The weapon name.