- Found in:
- Vanilla
Description
Wiki Description
Finds and returns the first faction in the array that the actor belongs to.
Documentation Comment
jduvall
Caveats
Parameters
Examples
Faction curFaction = CommonArrayFunctions.GetFirstFoundFactionInArrayForActor(FriendlyRaider, HostileFactions)
if curFaction
FriendlyRaider.RemoveFromFaction(curFaction) ; make the raider slightly more friendly...
endIfAuto-Generated Example
Actor myActor__ActorToCheck
Faction[] myFactionArray__ArrayToCheck
Faction returnedValue = CommonArrayFunctions.GetFirstFoundFactionInArrayForActor(myActor__ActorToCheck, myFactionArray__ArrayToCheck)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
