Kevaar Posted March 9, 2016 Posted March 9, 2016 (edited) I'm creating a follower mod. My character is tied to the DialogueFollower quest so I don't have to code his brains from scratch. I have a separate quest set up in which I plan to put the rest of his storyline. Both his follower brains and his storyline dialogue seem to be working properly. I also can get him to start following the PC around using the custom dialogue in the storyline quest. The issue I'm having is that he has the line "Follow me, I need your help.." show up the very first time you greet him. I want this line to be hidden until he agrees to join you in the storyline dialogue. One workaround I've tried is setting his default PotentialFollowerFaction to -1, which effectively hides this line, but then I have trouble setting that faction back to 0 in a topic info fragment. My attempts either don't compile or end up breaking his brain to the point he can't talk to me at all. What's the right script for doing this? Or is there a better way of working around hiding that line? Edited March 9, 2016 by Kevaar
Kevaar Posted March 10, 2016 Author Posted March 10, 2016 (edited) Tried the steps listed here, but it's still not working. http://forums.nexusmods.com/index.php?/topic/2840879-adding-follow-me-option-when-quest-is-over/ The "Follow me..." line is hidden correctly when you meet him now, instead only showing the dialogue from his storyline quest. But after clicking on the dialogue that's supposed to trigger him becoming your follower, the conversation ends, and he won't talk to you again. He'll say hello, but no dialogue options appear. He also doesn't follow the PC around. However, I know the quest stage is being changed properly because the quest objective updates. Here's the fragment associated with the quest stage: AD_Drai.SetFactionRank(PotentialFollowerFaction, 0) AD_Drai.SetFactionRank(CurrentFollowerFaction, -1) AD_Drai.SetRelationshipRank(Game.GetPlayer(), 3) Game.GetPlayer().SetRelationshipRank(AD_Drai, 3) SetObjectiveDisplayed(10) (AD_Drai being the ID of the follower character) The fragment in the dialogue's topic info is: GetOwningQuest().SetStage(10) The character has no relationships or factions added prior to this. EDIT: Further testing shows the faction rank changes aren't taking effect at all; if I add his other dialogue, he's still happy to chat about that. The rank changes just aren't going through for some reason. I'm completely stumped. Please help? :( Edited March 10, 2016 by Kevaar
Recommended Posts