Background for Skyrim SE
Member of the ObjectReference script
ObjectReferencefunctionGetLinkedRef(KeywordapKeyword=NONE)Native

Description

Wiki Description

Gets the reference linked to this one. If there is no linked reference, it returns None.

Documentation Comment

Get our linked reference


Parameters

  1. KeywordapKeyword=NONE

    CK Wiki Description

    Keyword to specify which linked ref you want.

    • Default:None

Examples

; Get the linked ref for the parent marker
ObjectReference linkedRef = parentMarker.GetLinkedRef()
; Get the linked ref for the special keyword
ObjectReference specialRef = parentMarker.GetLinkedRef(SpecialKeyword)

Auto-Generated Example

Keyword myKeyword__apKeyword

ObjectReference returnedValue = myObjectReference__toCallFunctionOn.GetLinkedRef(myKeyword__apKeyword)

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.