Jump to content

Perk Not Working for Companion


panzersharkcat

Recommended Posts

Back again with stuff for Master Sergeant Dornan. I found an old post that said to add perks to companions, you were supposed to have a script like "player.addperk PSCDornanPerks 1;", which is supposed to add it to a list for followers. Following that is to apply perk effects so the owner is that companion. I've done that and it's not working. (One of the effects is basically Light Step. Still setting off mines.) Any idea why? I currently have it so it's added at initial hire and rehiring, and removed at firing. The script at rehiring is as follows:

 

Set ScottDornanREF.Waiting to 0

Set ScottDornanREF.Relax to 0
Set ScottDornanREF.IsFollowingDefault to 1
Set ScottDornanREF.IsFollowingLong to 0
Set ScottDornanREF.CombatStyleRanged to 1
Set ScottDornanREF.CombatStyleMelee to 0
Set ScottDornanREF.HasBeenHired to 1
SetPlayerTeammate 1
SetIgnoreFriendlyHits 1
Player.AddPerk 00MSWAPerkDornan
Player.AddPerk PSCDornanPerks 1;
Player.AddToFaction 00MSWADornanFaction 0
ScottDornanREF.evp
Edited by panzersharkcat
Link to comment
Share on other sites

  • 4 weeks later...

I'm almost certain that perk entry points don't apply to anyone but the player. I say this because none of the original game's companion suite effects actually work, and I've had trouble adding the light step effect to companions in the past, too. What confuses me is that the ED-E from Lonesome Road doesn't set of mines, and the only reason I can see is that it has a Light Step perk. I may be completely wrong, but this is just my experience.

 

I've not tried the GetIsID condition on many of the entry points, however, so that might work.

Link to comment
Share on other sites

  • 3 months later...

Ahh thanks for reminding me.

 

player.addperk perkname 1

 

needs that one to function, I've tested it, it works. He's already got that in his script, so still not sure what the problem is. I've remade the companion perk suite and it works as it should. It only had an id for Cass.

Link to comment
Share on other sites

Ahh thanks for reminding me.

 

player.addperk perkname 1

 

needs that one to function, I've tested it, it works. He's already got that in his script, so still not sure what the problem is. I've remade the companion perk suite and it works as it should. It only had an id for Cass.

 

So does that mean it works without the GetIsID condition if you use the 1 parameter?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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