AddToFaction - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Revision as of 13:16, 29 October 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: RefCollectionAlias Script

Calls AddToFaction on all the actors in the collection

Syntax[edit | edit source]

Function AddToFaction(faction akFaction)

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]