Mod:Creation Kit/GetLinkedRef - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
ObjectReference Function GetLinkedRef(Keyword apKeyword = None) native

Parameters

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

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

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