So I have a script that finds potential enemies of the player in a Cell. It has been working for years but now it is not working.
I ran some tests on a cell with a lot of Draugrs with this:
debug.messagebox(CheckActor.GetLeveledActorBase().getname() + " Aggression: " + CheckActor.getactorvalue("Aggression") + " Confidence: " + CheckActor.getactorvalue("Confidence") + " Faction reaction: " + CheckActor.GetFactionReaction(game.GetPlayer()))
And I discovered that they all are ZERO Aggression and ZERO Faction Reaction (although their confidence is still high at number 4).
These are from a vanilla quest.
They still do attack me but only if they see me. So I am thinking this is some "feature" of some mod?
Nope, IC has no effect on aggression nor the factions reactions. I will try a new game with no mods (but really I only have a few that are not my own).
What else could I look for that would cause this?
Edit again: ok, the issue seems to go away after unloading all but my own mods. Oh for pete's sake I only use my own combat mods I cannot even guess which other mod I use (food/alchemy mods, weapons mods, quest mods, companion mods) would be doing this. I hope this is a BUG in their mod and not a "feature".
SO I guess I will now find the offending mod and work it out from there.