SetWeaponSlotWeapon( <weapon slot>, <weapon name> )


Module: Player

Summary:

Sets the weapon name for the given weapon slot.



Call this on:

The player



Example:

level.player setweaponslotweapon("primary", weapon);



Required Args:

  • 1 : <weapon slot> Valid weaponslots are "primary" and "primaryb".
  • 2 : <weapon name> The name of the weapon to use in this slot.