AddToFaction - Actor
Member of: Actor Script
Adds the Actor to a specified faction at rank 0. If the Actor is already in the faction, this function does nothing.
SyntaxEdit
Function AddToFaction(Faction akFaction)
ParametersEdit
- akFaction: The faction to which the Actor should be added.
Return ValueEdit
None.
ExamplesEdit
; Add Hrothgar to the Dark Brotherhood
Hrothgar.AddToFaction(DBFaction)
NotesEdit
NPCs with an aggression level of 2(Very Aggressive) will be hostile to members of the same faction unless said faction is assigned as an ally. This can be done using SetAlly - Faction.