Jump to content

Mehrunes razor kill script faction question


Recommended Posts

Hey, I am adding the mehrunes razor kill script to a shivering isles weapon but I want to change (or rather add) another faction immunity to it, namely the court of madness faction. So in other words I would like the Golden Saints, Dark Seducers, and anyone in either the dementia or mania court to be immune to the weapons kill script effect.

 

I am looking around at the factions in the CS but I am not sure what I should add, any help would be great. Thanks.

Link to comment
Share on other sites

I don't have the specific names or values at hand right now, but the function used to determine whether an actor is inside a faction or not was GetFactionRank, and if it's >= 0, then the actor is inside the faction.

 

I've also seen the script you're talking of before, but it's been years ago now and my memory is not the best. I'm having a similar exclusion of factions from special effects script on some of my own blades also, and there it's using GetFactionRank to determine the faction membership like I said.

 

What I also don't know though is the code for the court of madness faction, or who all is inside said faction or not, but I guess these things are easy to come by or you already know them.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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