Mod:Creation Kit/GetFirstFoundFactionInArrayForActor - CommonArrayFunctions

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Member of: Mod:Creation Kit/CommonArrayFunctions Script

Finds and returns the first faction in the array that the actor belongs to.

Parameters

 * ActorToCheck: The Actor whose factions we are examining.
 * ArrayToCheck: The Faction array we are looking in

Return Value
The first faction in the array the actor is a member of, or None if not found, the actor is none, or the array is empty or none.