Background for Fallout 4
Member of the Actor script
voidfunctionSetRelationshipRank(ActorakOther, intaiRank)Native

Description

Wiki Description

Sets the relationship rank between this actor and another.

Documentation Comment

Sets the relationship rank between this actor and another (See GetRelationshipRank for the ranks)


Caveats

CK Wiki - Notes

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).


Parameters

ActorakOther

CK Wiki Description

The other actor to determine our relationship with.

intaiRank

CK Wiki Description

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

Examples

No human-generated examples found for this function.

Auto-Generated Example

Actor myActor__akOther
int myInt__aiRank

myActor__toCallFunctionOn.SetRelationshipRank(myActor__akOther, myInt__aiRank)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.