GetHighestRelationshipRank - Actor

From Creation Kit
Jump to: navigation, search

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