GetHighestRelationshipRank - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script (Papyrus)

Gets the highest relationship rank this actor has.

Syntax[edit | edit source]

int Function GetHighestRelationshipRank() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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[edit | edit source]

; Get Alice's highest relationship rank
int bestRelationship = Alice.GetHighestRelationshipRank()

See Also[edit | edit source]