AddToFaction

From the CreationKit Wiki
Jump to navigation Jump to search

Description[edit | edit source]

AddToFaction Adds an actor (only the reference not the base object) into a faction. It is called on the Reference and has two parameters: the faction, and the faction rank.

Syntax[edit | edit source]

[ActorREF.]AddToFaction Faction FactionRank

Examples[edit | edit source]

BuddyRef.AddToFaction TrollFaction 1

BuddyRef is now in the TrollFaction, but not all Buddy base objects are in the Troll Faction.

See Also[edit | edit source]

RemoveFromFaction

Reference[edit | edit source]

None provided.

Papyrus Version[edit | edit source]

Actor.SetFactionRank (Papyrus)

AddToFaction - Actor