Background for Fallout 4
Member of the RefCollectionAlias script
voidfunctionAddToFaction(FactionakFaction)

Description

Wiki Description

Calls Actor.AddToFaction(...) on all the actors in the collection

Documentation Comment

kmk
add all actors in list to specified faction


Caveats


Parameters

FactionakFaction

CK Wiki Description

The Faction to which the actors should be added.


Examples

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

Auto-Generated Example

Faction myFaction__akFaction

myRefCollectionAlias__toCallFunctionOn.AddToFaction(myFaction__akFaction)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.