Background for Fallout 4
Member of the ObjectReference script

Description

Wiki Description

This function returns an array of objectreferences representing the "linked ref children" of the reference it is called on, using only those linked with the specified keyword.

Documentation Comment

Returns an array of linked reference children which were linked using the given keyword


Caveats

CK Wiki - Notes

  • For the uninitiated, LinkedRef "Children" means the references that appear in the Linked From area of the Object's Reference window.

Parameters

  1. KeywordapKeyword

    CK Wiki Description

    Keyword to check ref link against (see ObjectReference.GetLinkedRef(...).)


Examples

; Get all of the terminal link children of this object reference.
ObjectReference[] LinkedRefs = GetLinkedRefChildren(TerminalLinkKeyword)
; Enable the "terminal link" children refs of this object reference.
ObjectReference[] LinkedRefs = GetLinkedRefChildren(TerminalLinkKeyword)
int i = 0
while (i < LinkedRefs.length)
    LinkedRefs[i].enable()
    i += 1
endwhile

Auto-Generated Example

keyword myKeyword__apKeyword

ObjectReference[] returnedValue = myObjectReference__toCallFunctionOn.GetLinkedRefChildren(myKeyword__apKeyword)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.