Mod:Creation Kit/TryToAddToFaction - ReferenceAlias

Member of: Mod:Creation Kit/ReferenceAlias Script

This is a convenient way to add an actor in an alias to a faction without calling GetActorReference on it. It's mostly useful in cases where you have lots of aliases that may or may not be filled and you want to call AddToFaction on them without having to test for a reference being present first.

Parameters

 * FactionToAddTo: The faction to add the actor to

Return Value
True if the actor was added to the faction, false if no actor existed to be added.