AddToFaction - RefCollectionAlias

From Creation Kit
Jump to: navigation, search

Member of: 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

;add the townspeople to the PlayerAllyFaction
Alias_TownsPeople.AddToFaction(PlayerAllyFaction)

See Also