Background for Starfield
Member of the ObjectReference script
voidfunctionDisableLinkChain(KeywordapKeyword=NONE, boolabFadeOut=false)Native

Description

Wiki Description

This function disables all the linked refs, linked in a chain, from this reference (but not this reference). It does not wait for all of them to fade or disable before returning.

Documentation Comment

Disables all of the references that are linked, in a chain, to this one. (But NOT this one)
Does not wait for everything to disable before returning


Parameters

  1. KeywordapKeyword=NONE

    CK Wiki Description

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

    • Default:None
  2. boolabFadeOut=false

    CK Wiki Description

    If true, will fade out each ref, otherwise will pop them out

    • Default:False

Examples

; Disable every ref linked to startRef in a chain
startRef.DisableLinkChain()
; disable every ref linked to startRef using the special keyword
startRef.DisableLinkChain(SpecialKeyword)

Auto-Generated Example

Keyword myKeyword__apKeyword
bool myBool__abFadeOut

myObjectReference__toCallFunctionOn.DisableLinkChain(myKeyword__apKeyword, myBool__abFadeOut)

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.