Raised This Month: $32 Target: $400
 8% 

[REQ] Darth Vader Grab/Choke with Mouse Click


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-08-2019 , 13:40   [REQ] Darth Vader Grab/Choke with Mouse Click
Reply With Quote #1

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.
PC Gamer is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode