Mod:Creation Kit/GetLinkedRefChildren - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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.

Syntax
ObjectReference[] Function GetLinkedRefChildren( keyword apKeyword ) native

Parameters

 * apKeyword: Keyword to check ref link against (see GetLinkedRef.)

Return Value
An array of ObjectReferences representing the references are directly linked as children to this object using the specified keyword.

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