Background for Skyrim SE
Member of the PO3_SKSEFunctions script
ActorfunctionGetClosestActorFromRef(ObjectReferenceakRef, boolabIgnorePlayer)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Gets closest actor to ref (without returning the reference itself).

Caveats


Parameters

ObjectReferenceakRef

boolabIgnorePlayer


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
bool myBool__abIgnorePlayer

Actor returnedValue = PO3_SKSEFunctions.GetClosestActorFromRef(myObjectReference__akRef, myBool__abIgnorePlayer)

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.