Quest Stage: Add to PotentialFollowerFaction?

Post » Wed Apr 24, 2013 1:01 pm

Hello! I've been working on a follower for a while, and now that he's all set up, I'd like to make it so that a quest must be performed before he decides to join. I have a couple of questions!

I have tried adding the following piece of code to the last stage of my quest:

Alias_TDPQuestGiver.GetActorRef().AddToFaction(PotentialFollowerFaction)
Alias_TDPQuestGiver.GetActorRef().SetFactionRank(PotentialFollowerFaction, 0)

Where TDPQuestGiver is the alias of the NPC I want to become my follower. The problem is, I haven't defined the potentialfollowerfaction variable... because I don't know how. Any ideas?

My other question is regarding the papyrus script window for items like potions/food. Is there not one at all? Can you add script to food like you can for equipment?

Thanks!

P.S. I asked this in a different thread previously, but never got an answer, so I'll pose it again just in case: The "bleedout" dialogue never triggers for my custom follower. What are the specific conditions required, and why do you think it's not working?
User avatar
Tom Flanagan
 
Posts: 3522
Joined: Sat Jul 21, 2007 1:51 am

Return to V - Skyrim