GetHighestRelationshipRank - Actor
Revision as of 15:42, 14 July 2015 by imported>Dooge
Member of: Actor Script (Papyrus)
Gets the highest relationship rank this actor has.
Syntax
int Function GetHighestRelationshipRank() native
Parameters
None.
Return Value
The highest relationship rank this actor has.
The following values are returned:
- 4: Lover
- 3: Ally
- 2: Confidant
- 1: Friend
- 0: Acquaintance
- -1: Rival
- -2: Foe
- -3: Enemy
- -4: Archnemesis
Examples
; Get Alice's highest relationship rank
int bestRelationship = Alice.GetHighestRelationshipRank()
See Also
- Actor Script
- GetLowestRelationshipRank - Actor
- GetRelationshipRank - Actor
- SetRelationshipRank - Actor
Comments
Seems like it does not take into account changes made in-game to NPCs, returns vanilla states for NPCs but when ran on player, takes into account any changes.