Background for Skyrim SE
Member of the Actor script
intfunctionGetRelationshipRank(ActorakOther)Native

Description

Wiki Description

Gets the relationship rank between this actor and another.

NOTE: Relationship data is NOT stored for Templated Actors, and any scripts that would set relationship data on a Templated actor will get wiped once your game session is over (which obviously has bad implications for Save/Load).

Documentation Comment

Obtains the relationship rank between this actor and another


Parameters

  1. ActorakOther

    CK Wiki Description

    The other actor to determine our relationship with.


Examples

; Does the daedra like the player?
if daedra.GetRelationshipRank(Game.GetPlayer()) >= 1
  Debug.Trace("Daedra likes the player")
endIf

Auto-Generated Example

Actor myActor__akOther

int returnedValue = myActor__toCallFunctionOn.GetRelationshipRank(myActor__akOther)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.