Call of Duty Script Documentation
dropweapon( <weapon name>, <hand>, <throw velocity>)
ModuleAI
Summary
Drop the actor's weapon
Call this function on
<actor> An actor
Example
self DropWeapon(self.weapon, self.anim_gunHand, throwVel);
Minimum Number of arguments: 3
1 : <weapon name> (string) The name of the weapon.
2 : <hand> (string) The weapon hand. Can be either "left" or "right".
3 : <throw velocity> (float) The velocity that the weapon is thrown at.
Number of optional arguments: 0
Return to Function List