How do you make an actor follow you around?

Post » Wed Jun 20, 2012 4:34 am

I'm making an animal companion, and I've made a dialogue quest for them with this in the papyrus fragment:

akSpeaker.SetFactionRank(PlayerPotentialAnimalFollower, -1)akSpeaker.SetFactionRank(PlayerFollowerFaction, 0)(DialogueFollower as DialogueFollowerScript).SetFollower(akSpeaker)

It compiles okay, and afterwards my guy counts as in the faction and I get all the dialogue options for a teammate. Problem is, it doesn't actually start following me. How do I make it do that?

EDIT: Nvm I got this part working, by including this:


If PlayerAnimalCount.GetValueInt() == 0
(DialogueFollower as DialogueFollowerScript).SetAnimal(akSpeaker)

EndIF
User avatar
Eileen Müller
 
Posts: 3366
Joined: Fri Apr 13, 2007 9:06 am

Return to V - Skyrim