Mod:Creation Kit/AddToFaction - Actor

Member of: Mod:Creation Kit/Actor Script

Adds the Actor to a specified faction at rank 0. If the Actor is already in the faction, this function does nothing.

Syntax
Function AddToFaction(Faction akFaction)

Parameters

 * akFaction: The faction to which the Actor should be added.

Return Value
None.

Examples
Hrothgar.AddToFaction(DBFaction)
 * Add Hrothgar to the Dark Brotherhood