panzersharkcat Posted April 1, 2016 Share Posted April 1, 2016 (edited) 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 0Set ScottDornanREF.Relax to 0Set ScottDornanREF.IsFollowingDefault to 1Set ScottDornanREF.IsFollowingLong to 0Set ScottDornanREF.CombatStyleRanged to 1Set ScottDornanREF.CombatStyleMelee to 0Set ScottDornanREF.HasBeenHired to 1SetPlayerTeammate 1SetIgnoreFriendlyHits 1Player.AddPerk 00MSWAPerkDornanPlayer.AddPerk PSCDornanPerks 1;Player.AddToFaction 00MSWADornanFaction 0ScottDornanREF.evp Edited April 1, 2016 by panzersharkcat Link to comment Share on other sites More sharing options...
RoyBatterian Posted April 3, 2016 Share Posted April 3, 2016 In order to get a perk to work on a companion you need to add a condition with GetIsId and the companion's base form ID. Check the "CompanionSuite" perk for an example. Link to comment Share on other sites More sharing options...
panzersharkcat Posted April 5, 2016 Author Share Posted April 5, 2016 I do have the GetIsID set to him, though. I don't know why it isn't working.http://i.imgur.com/5NPOMlt.pnghttp://i.imgur.com/PuA6zTQ.png Link to comment Share on other sites More sharing options...
RoyBatterian Posted April 5, 2016 Share Posted April 5, 2016 Hmmm that should work. Maybe the 00 is messing things up, it certainly does for scripts and things. Maybe try changing it to aa. Link to comment Share on other sites More sharing options...
panzersharkcat Posted April 13, 2016 Author Share Posted April 13, 2016 Hmm. I changed it to TSCWAScottDornan, fired him, rehired him. Still sets off mines. Link to comment Share on other sites More sharing options...
PushTheWinButton Posted May 11, 2016 Share Posted May 11, 2016 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 More sharing options...
RoyBatterian Posted May 11, 2016 Share Posted May 11, 2016 Lonesome road ED-E is setup with the GetIsID and it does work. So I don't know. Link to comment Share on other sites More sharing options...
0reo27 Posted August 31, 2016 Share Posted August 31, 2016 I know this is an old post but have you gotten it to work? I wanted to make a mod that does something similar to this. Link to comment Share on other sites More sharing options...
RoyBatterian Posted August 31, 2016 Share Posted August 31, 2016 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 More sharing options...
PushTheWinButton Posted August 31, 2016 Share Posted August 31, 2016 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 More sharing options...
Recommended Posts