Mod:Creation Kit/SetRelationshipRank - Actor

Member of: Mod:Creation Kit/Actor Script

Sets the relationship rank between this actor and another.

Syntax
Function SetRelationshipRank(Actor akOther, int aiRank) native

Parameters

 * akOther: The other actor to determine our relationship with.
 * aiRank: The relationship rank to set between this actor and the other. The following values are acceptable:
 * 4: Lover
 * 3: Ally
 * 2: Confidant
 * 1: Friend
 * 0: Acquaintance
 * -1: Rival
 * -2: Foe
 * -3: Enemy
 * -4: Archnemesis

Return Value
None.

Example
AnnoyingFan.SetRelationshipRank(Game.GetPlayer, -4)
 * Set the fan's relationship with the player to archnemesis