Guest deleted2027229 Posted April 2, 2023 Share Posted April 2, 2023 How would I edit the following script so that there is no reputation or faction rank check for hiring a companion? Every time I try the NPC basically tells me I'm not strong or famous enough. Would it even be the script I need to edit or would it be in the dialogue menu? scn PTFollowNPCScriptshort levshort daysshort donebegin onhitif getav aggression < 5setav aggression 5endifendbegin onactivateif isactionref player == 1 addtopic PTFollowBaseTopic addtopic PTFollowerDismissTopic addtopic PTResponsibilityTopic if getfactionrank PTFollowerFaction < 4 set lev to player.getlevel - getlevel if lev < -7 setfactionrank PTFollowerFaction, 0 elseif lev < -3 setfactionrank PTFollowerFaction, 1 elseif lev < 0 setfactionrank PTFollowerFaction, 2 else setfactionrank PTFollowerFaction, 3 endif endifactivate playerendifendbegin gamemodeif player.issneaking == 1 if player.isincombat == 1 if getfactionrank PTFollowerFaction == 5 setfactionrank PTFollowerFaction, 4 setav aggression 5 additem torch02 1 evp endif endif if getfactionrank PTFollowerFaction == 4 if player.isincombat == 0 setfactionrank PTFollowerFaction, 5 setav aggression 0 removeitem torch02 999 evp endif endifelseif getfactionrank PTFollowerFaction == 5setfactionrank PTFollowerFaction, 4setav aggression 5additem torch02 1evpendifif getfactionrank PTFollowerFaction > 3 && getfactionrank PTFollowerFaction < 6if done == 0set days to gamedayspassed + 2set done to 1endifendifif done == 1if gamedayspassed >= daysif getfactionrank PTFollowerFaction != 6 && getfactionrank PTFollowerFaction > 3setfactionrank PTFollowerFaction, 7evpset done to 2endifendifendifif getfactionrank PTFollowerFaction == 6if done < 2set done to 2endifendifif done == 2set days to gamedayspassed + 2set done to 3endifif done == 3if gamedayspassed >= daysset done to 0setfactionrank PTFollowerFaction, -1endifendifif getdisposition player < 40if getfactionrank PTFollowerFaction > 3if getfactionrank PTFollowerFaction < 6setfactionrank PTFollowerFaction, 7evpendifendifendifendbegin ondeathsetfactionrank PTFollowerFaction, -1set done to 0end Link to comment Share on other sites More sharing options...
IcelandicPsychotic Posted April 3, 2023 Share Posted April 3, 2023 If removing the conditions doesn't work, have you tried making them all return the same value? Like in the "setfactionrank" command you can try making it always return the highest value. Link to comment Share on other sites More sharing options...
Guest deleted2027229 Posted April 4, 2023 Share Posted April 4, 2023 Can you elaborate a bit on how that would help? I know very little about scripting. Link to comment Share on other sites More sharing options...
IcelandicPsychotic Posted April 4, 2023 Share Posted April 4, 2023 For example in this section: if lev < -7 setfactionrank PTFollowerFaction, 0 elseif lev < -3 setfactionrank PTFollowerFaction, 1 elseif lev < 0 setfactionrank PTFollowerFaction, 2 else setfactionrank PTFollowerFaction, 3 endif I assume that the script is running some sort of condition to check if the player is good enough to acquire followers, in this case the rank in this PTFollowerFaction. If you edit the script to always return the highest rank then you can technically bypass any checks for faction rank or reputation. Link to comment Share on other sites More sharing options...
Guest deleted2027229 Posted April 4, 2023 Share Posted April 4, 2023 When you say "If removing the conditions doesn't work" would I find conditions under the dialogue menu? Link to comment Share on other sites More sharing options...
IcelandicPsychotic Posted April 5, 2023 Share Posted April 5, 2023 No, I just meant all the rank checks in the script. That's what I would try editing first. Link to comment Share on other sites More sharing options...
Recommended Posts