Background for Skyrim SE
Member of the PO3_SKSEFunctions script
ObjectReference[]functionFindAllReferencesOfType(ObjectReferenceakRef, FormakFormOrList, floatafRadius)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Find all references matching base form/in formlist, within radius from ref.
  • If afRadius is 0, it will get all references from all attached cells

Caveats


Parameters

ObjectReferenceakRef

FormakFormOrList

floatafRadius


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
Form myForm__akFormOrList
float myFloat__afRadius

ObjectReference[] returnedValue = PO3_SKSEFunctions.FindAllReferencesOfType(myObjectReference__akRef, myForm__akFormOrList, myFloat__afRadius)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.