How to do close kill?

Hi my question is that i want to make my enemy gets stunt and when my player gets near to it i press the button it will do the finisher kill you know like in doom called glory kill.How do i do that.

Please anyone know tutorial on that.

the basics of that system are super easy, you just need to take your target and check to see if their health is below a threshold amount if it is then you can execute the finisher. as for the stunning part thats dependent on what you want. do you want it based on x damage over time, or by meeting a threshold, or by some other means.

Thanks for the reply you solved half the problem.My real problem is animation,how do i animate it a certain way that looks like the player grabs the enemy then stabs him etc?