Jump to content

How would I script an NPC to become a follower at the end of dialog


Recommended Posts

I had a similar problem.

 

You aren't setting the relationship rank to the appropriate rank. (3, which is Ally).

Try This

 

 

getowningquest().setstage(20)
akspeaker.SetRelationshipRank(Game.GetPlayer(), 3)
akspeaker.AddToFaction(PotentialFollowerFaction)
Also, with the "I need you to do something" bit, it sounds like you have the "CurrentFollowerFaction" set to 1. You want to set this to -1.

 

If that doesn't work for you, here's what I done to get mine to work...

 

Create a relationship between the npc and the player. Set your follower as the parent, and the player as the child. set the relationship type to Acquaintance.

 

Under the factions tab of you npc, add the "PotentialFollowerFaction" and hit ok.

 

Then for your papyrus at the end of the dialouge, have this:

 

getowningquest().setstage(20)
akspeaker.SetRelationshipRank(Game.GetPlayer(), 3)
That will bump the current relationship from 0 (neutral) to ally (3)

 

Refer to this guide if you get stuck on anything, it helped me get my follower working.

http://wiki.tesnexus.com/index.php/Adding_a_Follower_NPC_to_Skyrim

Link to comment
Share on other sites

  • 1 month later...
  • Recently Browsing   0 members

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