Jump to content

Possibly to get ref of an NPC you shoot?


H3X1C

Recommended Posts

*Possible

 

Is it possible to get the ref of an NPC you shoot and hit as I want to make a mod where with a specific weapon so if you shoot someone with it, it will trigger a script and I need the ref of the NPC I have shot to do what I want to do

 

I thought you would be able to attach a script to a weapon but cannot find an event to do so :sad:

 

Any help?

Edited by H3X1C
Link to comment
Share on other sites

The only way i can think of is to apply a cloak spell to all actors within a given radius, which in turn applies a magic effect to them, which applies a script with an OnHit event to monitor for attacks originating from the player.

Edit: you could try using a perk, like KitsuneOuka suggests here.

Edited by steve40
Link to comment
Share on other sites

  • Recently Browsing   0 members

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