AddToFaction - Actor

From the CreationKit Wiki
Revision as of 16:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Syntax

Function AddToFaction(Faction akFaction)

Parameters

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

Return Value

None.

Examples

; Add Hrothgar to the Dark Brotherhood 
Hrothgar.AddToFaction(DBFaction)

See Also