Jump to content

Recommended Posts

Posted (edited)

Re-posting here as I think I might've stuck my first post in the wrong sub-section.

 

So, I'm making a follower mod. And I'm having trouble scripting the guy to not be a follower until you reach a certain point in his dialogue. (AKA, I want the "Follow me, I need your help" line hidden before that part of his quest is triggered.)

 

I've tried putting this in the papyrus fragment of the appropriate quest stage:

FollowerID.SetFactionRank(PotentialFollowerFaction, 0)
FollowerID.SetFactionRank(CurrentFollowerFaction, -1)
FollowerID.SetRelationshipRank(Game.GetPlayer(), 3)
Game.GetPlayer().SetRelationshipRank(FollowerID, 3)
SetObjectiveDisplayed(10)

While the dialogue that triggers him agreeing to be your follower has this as the topic info fragment:

GetOwningQuest().SetStage(10)

The quest stage is updating to Stage 10 correctly because all the other dialogue for Stage 10 starts showing up and the objective displays. But the factions don't appear to be changing rank at all.

 

Anyone know what I'm doing wrong?

Edited by Kevaar
Posted

I figgered it out, herpy durr.

 

Instead of using the actual actor ID, I needed to create an alias, and then replace "FollowerID" with "Alias_Aliasname.GetActorReference()" in the coding above.

  • Recently Browsing   0 members

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