Jump to content

onHit() detection?


Recommended Posts

Good day to you all,

 

I have another question once again maybe someone can help me out :blush:

 

I am trying to add an onHit detection to a Npc and I tried alot of stuff already and it didnt work... I think I have to register them for an onHit event but I am not sure how to do that.

What I am trying to do is if Npc gets hit by anything except npc with keyword Brawler (or in faction brawler or whatever) the player gets added a Perk. (cheater Perk).

 

Shouldn't be that hard to do but I can't figure it out.

 

How would you aproach this?

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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