Background for Skyrim SE
Member of the DbSkseFunctions script

Description

Documentation Comment

Get the closest object reference in the refs array to the ref


Parameters

  1. ObjectReferenceref

  2. ObjectReference[]refs


Examples

Auto-Generated Example

ObjectReference myObjectReference__ref
ObjectReference[] myObjectReferenceArray__refs

ObjectReference returnedValue = DbSkseFunctions.GetClosestObjectFromRef(myObjectReference__ref, myObjectReferenceArray__refs)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.