Jump to content

Bit of a problem getting relationship rank to work.


OneOnOne1162

Recommended Posts

  On 7/8/2016 at 1:16 AM, KunoMochi said:

How are you setting the relationship rank for the character? It could be that whatever script you are doing to set the relationship rank is not working properly.

 

I didn't set the relationship rank with a script. I set it with the console. But when I use "getrelationshiprank" in the console it does return "3 = Ally" to me.

 

Edit: So in the meanwhile I tried starting the script with "Game.GetPlayer().SetRelationshipRank(akSpeaker, 3)" and now it does work. So I guess the console didn't set it properly or something? I find that really weird. I hope it'll work if the relationship rank gets there normally without a script then.

Edited by OneOnOne1162
Link to comment
Share on other sites

That's weird. It almost sounds like the akSpeaker thing isn't working properly for getting their RelationshipRank, except it looks like it should according to the papyrus guides I've been looking at.

 

One thing I keep wondering about. Is the program being consistent with whether you're looking at the player and seeing what their RelationshipRank to the target is, versus looking at the target and seeing what their RelationshipRank to the player is?

 

Because I think it might be theoretically possible for these to be two different values.

Link to comment
Share on other sites

  On 7/9/2016 at 5:14 AM, PoliteRaider said:

That's weird. It almost sounds like the akSpeaker thing isn't working properly for getting their RelationshipRank, except it looks like it should according to the papyrus guides I've been looking at.

 

One thing I keep wondering about. Is the program being consistent with whether you're looking at the player and seeing what their RelationshipRank to the target is, versus looking at the target and seeing what their RelationshipRank to the player is?

 

Because I think it might be theoretically possible for these to be two different values.

 

Yes, I've tried both. Neither worked.

Link to comment
Share on other sites

Hmm yeah, I've been setting the Relationship Rank using scripts myself when certain dialogue options has been chosen by the player.

From reading up about the "setrelationshiprank <RefID> <#>" console command, it sometimes does not set correctly for some NPCs (only going as high as 1 and as low as -1, for instance). An additional "player.setrelationshiprank <RefID> <#>" may be need to be used for it to set correctly through console.

Link to comment
Share on other sites

  On 7/9/2016 at 10:50 PM, KunoMochi said:

Hmm yeah, I've been setting the Relationship Rank using scripts myself when certain dialogue options has been chosen by the player.

 

From reading up about the "setrelationshiprank <RefID> <#>" console command, it sometimes does not set correctly for some NPCs (only going as high as 1 and as low as -1, for instance). An additional "player.setrelationshiprank <RefID> <#>" may be need to be used for it to set correctly through console.

 

Interesting. Though, could that still have been the problem if I used "GetRelationshipRank" console command and did get a 3?

 

I hope you haven't been reading up on it just for me. If you did, well that's really going above and beyond. So if so, double thanks.

Edited by OneOnOne1162
Link to comment
Share on other sites

  • Recently Browsing   0 members

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