dianacat777 Posted June 20, 2013 Share Posted June 20, 2013 I'm getting pretty confused by a particular problem that's cropped up recently in my mod. When I realized I couldn't add ability perks to companions, I added a spell effect to my mod companion via a script instead. However, now the companion starts fleeing and won't stop until I console command him to resetai, and he starts fleeing again if I fast travel anywhere. Does anyone have any idea what might be causing this? I'm stumped. Link to comment Share on other sites More sharing options...
rickerhk Posted June 20, 2013 Share Posted June 20, 2013 Well, what's the spell script look like/do? Link to comment Share on other sites More sharing options...
luthienanarion Posted June 20, 2013 Share Posted June 20, 2013 You can add perks to companions, just not other NPCs. AddPerk takes a second argument (boolean) that adds the perk to a hidden list that applies the perk to the player and all hired companions. Essentially, the player carries the companions' perks around for them and they are applied as long as they are hired. player.addperk mymodperk 1 To apply a perk to only companions and not the player, set a perk owner condition to exclude the player. For a single companion, set the owner condition to their reference. Link to comment Share on other sites More sharing options...
dianacat777 Posted June 24, 2013 Author Share Posted June 24, 2013 I figured out my problem - I had the terrifying presence base effect in there somewhere. ...Whoops. The player companion perk only works if it's an entry point perk, and this was an ability. Regardless, I solved the problem. But thanks! Link to comment Share on other sites More sharing options...
Recommended Posts