The CommonArrayFunctions script is a part of Fallout 4’s Papyrus scripting ecosystem. It is included with the base game.
For this script, the Papyrus index knows about:
- 12 functions
Inheritance Tree
No indexed scripts extend this script.
Structs
The Papyrus Index is still under construction. Structs have not been implemented yet.
Properties
No properties found.
Events
No events found.
Functions
- Found in:
- Vanilla
boolfunctionCheckObjectReferenceAgainstArray(ObjectReferenceObjectToCheck, ObjectReference[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)GlobalChecks to see if the passed in reference is in the array. (Basically a wrapper around a simple find, with some None checks)
- Found in:
- Vanilla
intfunctionFindInReferenceAliasArray(ObjectReferenceObjectToCheck, ReferenceAlias[]ArrayToCheck)GlobalFinds the reference in the alias array and returns the index (or < 0 if not found)
- Found in:
- Vanilla
boolfunctionCheckObjectReferenceAgainstReferenceAliasArray(ObjectReferenceObjectToCheck, ReferenceAlias[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)GlobalLoops through an array of ReferenceAliases and checks if any of them have the specified ObjectReference in them.
- Found in:
- Vanilla
boolfunctionCheckActorAgainstFactionArray(ActorObjectToCheck, Faction[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)GlobalLoops through an array of Factions and checks if the specified actor in in any of them.
- Found in:
- Vanilla
boolfunctionCheckObjectAgainstKeywordArray(ObjectReferenceObjectToCheck, Keyword[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)GlobalLoops through an array of Keywords and checks if the specified ObjectReference has any of them.
- Found in:
- Vanilla
boolfunctionCheckFormAgainstKeywordArray(FormObjectToCheck, Keyword[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)Globaljduvall
- Found in:
- Vanilla
boolfunctionCheckFormAgainstArray(FormFormToCheck, Form[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false)GlobalChecks 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)
- Found in:
- Vanilla
boolfunctionCheckLocationAgainstArray(LocationObjectToCheck, Location[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false, boolmatchIfChildLocation=false)GlobalChecks to see if the specified location is in the array, or optionally is a child of one of the locations in the array.
- Found in:
- Vanilla
boolfunctionCheckLocationAgainstLocationAliasArray(LocationObjectToCheck, LocationAlias[]ArrayToCheck, boolreturnValueIfArrayIsEmpty=false, boolmatchIfChildLocation=false)GlobalLoops 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)
- Found in:
- Vanilla
KeywordfunctionGetFirstFoundKeywordInArrayForLocation(LocationLocationToCheck, Keyword[]ArrayToCheck)GlobalFinds and returns the first keyword in the array that is attached to the specified location.
- Found in:
- Vanilla
Finds and returns the first faction in the array that the actor belongs to.
- Found in:
- Vanilla
Checks to see if any of the actors in the array are hostile to the specified actor.
