SketchBookNLR Posted May 1, 2018 Posted May 1, 2018 So I wanted a custom follower to offer their service as a follower only after the player has gone through a little bit of dialogue.Set up the dialogue view for my quest, went smoothly enough, but when it came to adding the script to my final dialogue box, I get this compilation error: Starting 1 compile threads for 1 files... Compiling "MercDurkBecomeFollower"... D:\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\MercDurkBecomeFollower.psc(11,23): variable PotentialFollowerFaction is undefined No output generated for MercDurkBecomeFollower, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on MercDurkBecomeFollowerThis is what I put in the papyrus fragment box in the CK window: GetOwningQuest().SetStage(20) akspeaker.SetRelationshipRank(Game.GetPlayer(), 3) akspeaker.AddToFaction(PotentialFollowerFaction) now I don't know if I'm just an idiot, and misspelled something and haven't noticed even after proofreading repeatedly, or if using the Topic Info window won't work for this, but I haven't found a fix googling :/Also should add, I considered putting a condition on the follower recruit dialogue option (Follow me, I need your help, etc.) but I'm not sure where to do that, considering it's not in my dialogue view. Any help would make my day :D
TheWormpie Posted May 1, 2018 Posted May 1, 2018 (edited) You need to create and fill a property for the faction before it can be recognized by the compiler as well as the game. It is recommended that everyone follows the tutorials on the wiki before venturing into modding. Happy reading and good luck with your project :smile: Edited May 1, 2018 by wormple12
Recommended Posts