I'm looking for a Darth Vader type function that allows a player to target an enemy with the middle mouse button. Once targeted, the enemy will be 'grabbed', forcefully pulled to the player and held. Once grabbed, the enemy will begin taking increasing amounts of choke damage. A second mouse-click will cause the grabbed player to be thrown.
I made some progress on this by combining parts from Friagram's 'Admin Player/Entity Grabber' plugin (link:
https://forums.alliedmods.net/showthread.php?t=215305 ) and Phil25's suffocation Perk from his 'Roll the Dice Revamped' plugin (link:
https://forums.alliedmods.net/showthread.php?t=278579 )
Unfortunately, I was unable to get the enemy player to become grabbed and stay grabbed/thrown with a mouseclick. My goal is to incorporate the code into a Sith Lord plugin I'm working on.
If you have something like this, or at least know how to make the grab/toss happen with a mouse-click please share.