GetLinkedRef - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

ObjectReference Function GetLinkedRef(Keyword apKeyword = None) native

ParametersEdit

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

Return ValueEdit

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

ExamplesEdit

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