Jump to content

gethighestrelationshiprank()


Dooge

Recommended Posts

Posted

This function returns 0 even if the NPC actor has higher ranks.

 

Console:

gethighestrelationshiprank -> 0

getrelationshiprank player -> 4

 

Works ok for original values but seems like if I change something with a mod or with the console, the updates will not show.

Posted

I don't know why GetHighestRelationshipRank() is giving you those numbers, but if the reason you're using it is to check for a level 4 relationship (a.k.a. target is married), you can use the following instead:

yourActor.HasAssociation(Spouse)

where Spouse is a AssociationType property, that you'll need to link in the CK.

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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