- Found in:
- Vanilla
Description
Wiki Description
Checks to see if any of the actors in the array are hostile to the specified actor.
Documentation Comment
jduvall
Caveats
Parameters
ObjectReference[]ArrayToCheck
CK Wiki Description
The Actors to check for hostility (any non-actors are skipped)
Examples
if CommonArrayFunctions.IsActorInArrayHostileToActor(Player, QuestActors)
Debug.Trace("Better hide, they don't like the player much...")
endIfAuto-Generated Example
Actor myActor__ActorToCheck
ObjectReference[] myObjectReferenceArray__ArrayToCheck
bool returnedValue = CommonArrayFunctions.IsActorInArrayHostileToActor(myActor__ActorToCheck, myObjectReferenceArray__ArrayToCheck)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
