Description
Wiki Description
Finds all ObjectReference of any of the objects in the list in the loaded area within the given radius of the calling ref.
Documentation Comment
Finds all references to objects in the given list in the loaded area within the given radius of the calling
ref and returns an array of them
Caveats
Parameters
Examples
; Find all refs to gems in formlist GemList within 200 units of the activator
ObjectReference[] gemarray = ActiRef.FindAllReferencesOfType(GemList, 200.0)
; Find all refs to Gem01 within 200 units of the activator
ObjectReference[] gem01array = ActiRef.FindAllReferencesOfType(Gem01, 200.0)Auto-Generated Example
Form myForm__akObjectOrList
float myFloat__afRadius
ObjectReference[] returnedValue = myObjectReference__toCallFunctionOn.FindAllReferencesOfType(myForm__akObjectOrList, myFloat__afRadius)Related Pages
- ObjectReference
- Game
- ObjectReference.FindAllReferencesWithKeyword(...)
- Game.FindClosestReferenceOfAnyTypeInList(...)
- Game.FindClosestReferenceOfAnyTypeInListFromRef(...)
- Game.FindClosestReferenceOfType(...)
- Game.FindClosestReferenceOfTypeFromRef(...)
- Game.FindRandomReferenceOfAnyTypeInListFromRef(...)
- Game.FindRandomReferenceOfType(...)
- Game.FindRandomReferenceOfTypeFromRef(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
