Jump to content

[LE] Making follower offer services after dialogue, script compile error


Recommended Posts

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 MercDurkBecomeFollower
This 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

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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