So I've got this mod (SDR), and it works great, except when it comes to NPCs that are following/accompanying the player. The balance gets thrown off, and I'd like to tweak that back into line.
I'm still learning how to mod, but from searching the CS wiki, it seems as though the following might be the best bet:
Each NPC is given a token already.
Since the token is running all the time, it could check to see if the current ai package type is either a "follow" or an "accompany".
If so, it could then check to see if the package target is the player.
If so, it would flag the NPC / Companion in follow mode, and I could then use that flag to turn on/off various bonuses/adjustments/features.
Does that sound right? Is there a possible problem with NPCs that are hunting you down like assassins or guards, or are they using totally different package types?
Any feedback from follower/companion experts would be greatly appreciated as I am getting a lot of requests to make my mod companion friendly.
saebel