DropWeapon( <weapon name>, <hand>, <throw speed> )


Module: AI
SP Only

Summary:

Drop the actor's weapon



Call this on:

<actor> An actor



Example:

self DropWeapon( self.weapon, self.anim_gunHand, throwVel );



Required Args:

  • 1 : <weapon name> (string) The name of the weapon.
  • 2 : <hand> (string) The weapon hand. Can be either "left" or "right".
  • 3 : <throw speed> (float) The speed that the weapon is thrown at.