Background for Skyrim SE
Member of the ObjectReference script
ObjectReferencefunctionGetNthLinkedRef(intaiLinkedRef)Native

Description

Wiki Description

Gets the Nth linked ref from this object.

Documentation Comment

Returns the Nth linked ref from this reference (0 = self, 1 = GetLinkedRef, 2 = GetLinkedRef.GetLinkedRef, etc)


Parameters

  1. intaiLinkedRef

    CK Wiki Description

    The linked ref to get. 0 will return this object, 1 will return the same as ObjectReference.GetLinkedRef(...) with no keyword parameter, 2 will return essentially "GetLinkedRef().GetLinkedRef()", and so on.


Examples

No human-generated examples found for this function.

Auto-Generated Example

int myInt__aiLinkedRef

ObjectReference returnedValue = myObjectReference__toCallFunctionOn.GetNthLinkedRef(myInt__aiLinkedRef)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

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