Jump to content

Execute script on sneak attack?


notselfcreated

Recommended Posts

The ultimate goal here is to create a "rules of engagement" mod that would give a karma penalty for sneak-attacking civilians (even evil civilians, but evil military are OK).

 

I can't find an "OnSneakAttack" or even an "OnCriticalHit" function that I could use. Do I need a workaround of some kind to cause this to be a crime?

Link to comment
Share on other sites

This is probably best done with a hidden perk that you apply to the player. Check out the Mr Sandman perk which adds a menu option to the activate menu when the player is sneaking. You could do something similar but apply different conditions that limit the perk to when the player is sneaking and attacking.

 

There is no onsneakattack block, but there is the IsSneaking command.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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