Slaying unconscious players ?

  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Slaying unconscious players ?

« posted: Jul 09, 2015, 11:51 PM »
Hey all

Has anyone attempted to write an add action to slay unconscious players before?

  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1077
  • ^_^;;

Re: Slaying unconscious players ?

« Reply #1 posted: Jul 10, 2015, 08:48 AM »
Somewhere along the line I had a slightly customized ZOD Takedown script so you could "Slit throat" on wounded players ...

Basically meaning that if you are killed in CQB , that the enemy can run up and finish you off - gave people more incentive to cover a teammates body !

I removed it when I was debuggin stuff and never put it back :/

- from the grassy knoll -
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Slaying unconscious players ?

« Reply #3 posted: Jul 10, 2015, 09:03 AM »
Anyway to trick the revive system into killing the person? your not really killing the player, the game is (player setDamage 1) I would love to be able to gut a player and it say gut by SOlo, but since the player is in a unconscious state, which for the game thinks your already dead.
  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Re: Slaying unconscious players ?

« Reply #5 posted: Jul 10, 2015, 05:47 PM »
How hard would it be to write something to find killer with the gut feature?
  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Re: Slaying unconscious players ?

« Reply #6 posted: Jul 10, 2015, 06:24 PM »
a quick look at the code and it already does chap

Code: [Select]
systemChat format ["%1 was gutted by %2", toString _unitName, toString _killerName];

Re: Slaying unconscious players ?

« Reply #7 posted: Jul 10, 2015, 06:28 PM »
Doesn't seem to work, I need it to send (Variable) that another addon can pick up. I need it to find killer the killer or it just thinks the player committed suicide.
  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Re: Slaying unconscious players ?

« Reply #8 posted: Jul 10, 2015, 06:56 PM »
well that's mighty odd considering the code written should do this with an EH

Code: [Select]
"FAR_gutMessage" addPublicVariableEventHandler FAR_public_EH;
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Slaying unconscious players ?

« Reply #9 posted: Jul 10, 2015, 07:42 PM »
This commit is not the full code. I was just referring to TOP having such a feature.
  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Re: Slaying unconscious players ?

« Reply #10 posted: Jul 10, 2015, 09:34 PM »
Good point, it's there you just have to look for it solo.

it actually looks a good feature and something I'm going to use :)

Re: Slaying unconscious players ?

« Reply #11 posted: Jul 10, 2015, 09:37 PM »
I've been running the gut feature for a while, it works, just doesn't find who killed who