Difference between revisions of "GetHighestRelationshipRank - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Dooge
Line 38: Line 38:
*[[GetRelationshipRank - Actor]]
*[[GetRelationshipRank - Actor]]
*[[SetRelationshipRank - 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.

Revision as of 15:42, 14 July 2015

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

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.