SetAlly

From the CreationKit Wiki
Jump to navigation Jump to search

Description[edit | edit source]

SetAlly Sets a friend/ally relationship between two factions. It is not called on a reference.

Syntax[edit | edit source]

SetAlly Faction1 Faction2 F1toF2Flag (0/1) (optional) F2toF1Flag  (0/1) (optional)

Examples[edit | edit source]

SetAlly CompanionsFaction DarkBrotherhoodFaction           
; this makes the CompanionsFaction and the DarkBrotherhoodFaction allies with each other


Notes[edit | edit source]

  • The values for the flag mean:
    • 0 = Ally (default)
    • 1 = Friend

Papyrus Version[edit | edit source]

Faction.SetAlly (Papyrus)

See Also[edit | edit source]