I've just gotten into attempting my own NPC mod. However, I've come into a problem and I'm not quite sure how to solve it or where the problem is even coming from.
I've been able to spawn my NPC with all the join/kick out dialogue in the area and position I want him to, but whenever I enter the map he immediately starts walking toward the nearest companion character or PC and initiates dialogue. He even walked up to Viconia at one point when she wasn't even in my current party. I've triple checked the script file where he spawns and the dialogue file where he joins the party, but nothing seems to be amiss. (I've been using the Branwen mod as my main reference).
I was thinking it might have something to do with how I've edited the .cre file, which i made using shadowkeeper. That's the only thing I can think of, but I have no idea what to even fix. Any help would be appreciated!