Mod:Creation Kit/AddToFaction - RefCollectionAlias

Member of: Mod:Creation Kit/RefCollectionAlias Script

Calls AddToFaction on all the actors in the collection

Syntax
Function AddToFaction(faction akFaction)

Parameters

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

Return Value
None.

Examples
Alias_TownsPeople.AddToFaction(PlayerAllyFaction)
 * add the townspeople to the PlayerAllyFaction