Background for Fallout 4

CommonArrayFunctions


Inheritance Tree

No indexed scripts extend this script.

Structs
Properties
Events
Functions
boolfunctionCheckObjectReferenceAgainstArray(ObjectReferenceObjectToCheck, ObjectReference[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Global

Checks to see if the passed in reference is in the array. (Basically a wrapper around a simple find, with some None checks)

intfunctionFindInReferenceAliasArray(ObjectReferenceObjectToCheck, ReferenceAlias[]ArrayToCheck)Global

Finds the reference in the alias array and returns the index (or < 0 if not found)

boolfunctionCheckObjectReferenceAgainstReferenceAliasArray(ObjectReferenceObjectToCheck, ReferenceAlias[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Global

Loops through an array of ReferenceAliases and checks if any of them have the specified ObjectReference in them.

boolfunctionCheckActorAgainstFactionArray(ActorObjectToCheck, Faction[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Global

Loops through an array of Factions and checks if the specified actor in in any of them.

boolfunctionCheckObjectAgainstKeywordArray(ObjectReferenceObjectToCheck, Keyword[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Global

Loops through an array of Keywords and checks if the specified ObjectReference has any of them.

boolfunctionCheckFormAgainstKeywordArray(FormObjectToCheck, Keyword[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Global

jduvall

boolfunctionCheckFormAgainstArray(FormFormToCheck, Form[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Global

Checks to see if the passed in form is in the array. (Basically wrapping a find call with a couple of additional checks to handle None)

boolfunctionCheckLocationAgainstArray(LocationObjectToCheck, Location[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false, boolmatchIfChildLocation=false)Global

Checks to see if the specified location is in the array, or optionally is a child of one of the locations in the array.

boolfunctionCheckLocationAgainstLocationAliasArray(LocationObjectToCheck, LocationAlias[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false, boolmatchIfChildLocation=false)Global

Loops through an array of location aliases and checks if the specified location in in any of them. (Or a child of one of them if matchIfChildLocation)

KeywordfunctionGetFirstFoundKeywordInArrayForLocation(LocationLocationToCheck, Keyword[]ArrayToCheck)Global

Finds and returns the first keyword in the array that is attached to the specified location.

FactionfunctionGetFirstFoundFactionInArrayForActor(ActorActorToCheck, Faction[]ArrayToCheck)Global

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

boolfunctionIsActorInArrayHostileToActor(ActorActorToCheck, ObjectReference[]ArrayToCheck)Global

Checks to see if any of the actors in the array are hostile to the specified actor.

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