GetLinkedRef - ObjectReference

From the CreationKit Wiki
Revision as of 16:51, 21 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

ObjectReference Function GetLinkedRef(Keyword apKeyword = None) native

Parameters[edit | edit source]

  • apKeyword: Keyword to specify which linked ref you want.
    • Default: None

Return Value[edit | edit source]

The ObjectReference linked to this one for the given Keyword, or None if there isn't any.

Examples[edit | edit source]

; 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)

See Also[edit | edit source]