Jump to content

Honestly? I'm just being lazy.


Kalva

Recommended Posts

So. I want to make a weapon which triggers an effect whenever you get a sneak attack one-hit kill. I figure I'll need to write a script for this, no biggy, I can do that... I just don't want to fumble around doing it with my shots in the dark and lack of information on the wiki they have there. I figured I could write a script that checks that you got a sneak attack, then checks to see if you performed a finishing move. My issue with that is that I'm under the impression that even if you do get a sneak attack one-hit kill on enemy, you wont perform a finishing move if there's another enemy nearby; that's a problem because I want it to trigger every time you manage a one-hit stealth kill, not just when you kill that last enemy in the vicinity.

 

So uhhh... How do guys think the best way to detect that the player got a sneak attack critical one-hit kill in a script is? Is there a better way to go about this process? Do I sound like an idiot that has absolutely no idea what he's talking about? All these questions and more are yours to answer!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...